Add missing property decorator for getter

This commit is contained in:
Guille Gutierrez 2022-03-29 07:27:30 -04:00
parent bf7ba17121
commit b2453b0d27

View File

@ -209,7 +209,8 @@ class UsageZone:
""" """
self._appliances = value self._appliances = value
def get_internal_gains(self) -> [InternalGains]: @property
def internal_gains(self) -> [InternalGains]:
""" """
Calculates and returns the list of all internal gains defined Calculates and returns the list of all internal gains defined
:return: InternalGains :return: InternalGains