Skip to content

Commit

Permalink
fix code qualy
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rieck committed Jan 19, 2024
1 parent bdbc2e5 commit f583dc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hisim/components/building.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def get_default_connections_from_utsp_occupancy(self,):
)
)
return connections

def get_default_connections_from_outdated_occupancy(self,):
"""Get occupancy default connections."""

Expand Down
8 changes: 4 additions & 4 deletions hisim/modular_household/interface_configs/archetype_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ class ArcheTypeConfig:
#: average daily commuting distance in kilometers, passed as input to the LoadProfileGenerator and considered to model consumption of cars
mobility_distance: Optional[JsonReference] = field(
default_factory=lambda: TravelRouteSets.Travel_Route_Set_for_15km_Commuting_Distance) # type: ignore
# #: url of the UTSP (this is not needed for the config anymore. it is integrated in the tusp_connector build() function automatically)
# url: str = get_environment_variable("UTSP_URL")
# #: passwort to connect to the UTSP
# api_key: str = get_environment_variable("UTSP_API_KEY")
#: url of the UTSP (this is not needed for the config anymore. it is integrated in the tusp_connector build() function automatically)
url: str = get_environment_variable("UTSP_URL")
#: passwort to connect to the UTSP
api_key: str = get_environment_variable("UTSP_API_KEY")


# def create_archetype_config_file() -> None:
Expand Down

0 comments on commit f583dc7

Please sign in to comment.