Skip to content

Commit

Permalink
fix: type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney authored and robertbartel committed Mar 7, 2024
1 parent 7abd95f commit b2f2aff
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _get_catchment_record(self) -> gpd.GeoDataFrame:
return df

@property
def conjoined_catchments(self) -> Tuple['GeoPackageCatchment']:
def conjoined_catchments(self) -> Tuple['GeoPackageCatchment', ...]:
"""
Returns
Expand All @@ -112,7 +112,7 @@ def conjoined_catchments(self) -> Tuple['GeoPackageCatchment']:
c is not None])

@property
def contained_catchments(self) -> Tuple['GeoPackageCatchment']:
def contained_catchments(self) -> Tuple['GeoPackageCatchment', ...]:
"""
Tuple of catchment object having an "is-in" relationship with this catchment object.
Expand Down Expand Up @@ -275,7 +275,7 @@ def id(self) -> str:
return self._nex_id

@property
def receiving_catchments(self) -> Tuple['GeoPackageCatchment']:
def receiving_catchments(self) -> Tuple['GeoPackageCatchment', ...]:
"""
Tuple of GeoPackageCatchment object(s) receiving water from nexus
Expand All @@ -289,7 +289,7 @@ def receiving_catchments(self) -> Tuple['GeoPackageCatchment']:
return tuple([c for c in catchments if c is not None])

@property
def contributing_catchments(self) -> Tuple['GeoPackageCatchment']:
def contributing_catchments(self) -> Tuple['GeoPackageCatchment', ...]:
"""
Tuple of GeoPackageCatchment object(s) contributing water to nexus
Expand Down

0 comments on commit b2f2aff

Please sign in to comment.