Correct rhino read

This commit is contained in:
Guille Gutierrez 2022-05-09 22:42:51 -04:00
parent f53beb4a0a
commit c28e1ba176
2 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ class ThermalBoundary:
def thermal_openings(self) -> Union[None, List[ThermalOpening]]:
"""
Get thermal boundary thermal openings
:return: [ThermalOpening]
:return: None or [ThermalOpening]
"""
if self._thermal_openings is None:
if self.window_ratio is not None:

View File

@ -70,7 +70,7 @@ class ThermalZone:
return self._footprint_area
@property
def thermal_boundaries(self) -> List[ThermalBoundary]:
def thermal_boundaries(self) -> [ThermalBoundary]:
"""
Get thermal boundaries bounding with the thermal zone
:return: [ThermalBoundary]
@ -564,7 +564,7 @@ class ThermalZone:
_internal_gain.convective_fraction = internal_gain_type.convective_fraction
_internal_gain.schedules = internal_gain_type.schedules
def get_internal_gains(self) -> [InternalGain]:
def get_internal_gains(self) -> List[InternalGain]:
"""
Calculates and returns the list of all internal gains defined
:return: [InternalGain]