Skip to content

Commit

Permalink
fix typing in _make_data_block exchange accessor machinery
Browse files Browse the repository at this point in the history
  • Loading branch information
DocOtak committed Mar 21, 2024
1 parent 95007cf commit 36f0e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cchdo/hydro/accessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def _make_data_block(self, params: dict[WHPName, xr.DataArray]) -> list[str]:
param.scope != "sample" or param.nc_name == "sample"
):
continue
date_or_time = None
date_or_time: Literal["date", "time"] | None = None
# TODO, deal with missing time in BTL_DATE
if param in self.date_names:
date_or_time = "date"
Expand Down

0 comments on commit 36f0e42

Please sign in to comment.