meb_debugging #8

Merged
g_gutierrez merged 15 commits from meb_debugging into main 2023-03-20 14:21:25 -04:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit aa0952969f - Show all commits

View File

@ -46,7 +46,7 @@ class Fuel:
return self._fixed_power
@property
def variable(self) -> Union[(None, None), (float, str)]:
def variable(self) -> Union[tuple[None, None], tuple[float, str]]:
"""
Get variable costs in given units
:return: None, None or float, str

View File

@ -36,7 +36,7 @@ class ItemDescription:
return self._item_type
@property
def initial_investment(self) -> Union[(None, None), (float, str)]:
def initial_investment(self) -> Union[tuple[None, None], tuple[float, str]]:
"""
Get initial investment of the specific item in given units
:return: None, None or float, str
@ -44,7 +44,7 @@ class ItemDescription:
return self._initial_investment, self._initial_investment_unit
@property
def refurbishment(self) -> Union[(None, None), (float, str)]:
def refurbishment(self) -> Union[tuple[None, None], tuple[float, str]]:
"""
Get refurbishment costs of the specific item in given units
:return: None, None or float, str
@ -52,7 +52,7 @@ class ItemDescription:
return self._refurbishment, self._refurbishment_unit
@property
def reposition(self) -> Union[(None, None), (float, str)]:
def reposition(self) -> Union[tuple[None, None], tuple[float, str]]:
"""
Get reposition costs of the specific item in given units
:return: None, None or float, str