Add missing property decorator for getter
This commit is contained in:
parent
bf7ba17121
commit
b2453b0d27
|
@ -209,7 +209,8 @@ class UsageZone:
|
|||
"""
|
||||
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
|
||||
:return: InternalGains
|
||||
|
|
Loading…
Reference in New Issue
Block a user