We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b035a0 commit b04dc1fCopy full SHA for b04dc1f
climada/entity/impact_funcs/impact_func_set.py
@@ -229,7 +229,7 @@ def get_func(
229
else:
230
return self._data
231
232
- def get_hazard_types(self, fun_id: Optional[str | int]) -> list[str]:
+ def get_hazard_types(self, fun_id: Optional[str | int] = None) -> list[str]:
233
"""Get impact functions hazard types contained for the id provided.
234
Return all hazard types if no input id.
235
0 commit comments