Skip to content

Commit

Permalink
refacto
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Feb 11, 2025
1 parent a197db5 commit 45307f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/antares/craft/model/hydro.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ def __init__(
):
self._area_id = area_id
self._service = service
self._properties = properties
self._properties = properties or HydroProperties()
self._matrices = matrices

@property
def area_id(self) -> str:
return self._area_id

@property
def properties(self) -> Optional[HydroProperties]:
def properties(self) -> HydroProperties:
return self._properties

@property
Expand Down

0 comments on commit 45307f5

Please sign in to comment.