Skip to content

Commit

Permalink
fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloandrioni committed Sep 3, 2024
1 parent 32105f8 commit f2dc524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/load_by_step/_load_by_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _indexers_or_indexers_kwargs(

return dict(input_args[m.index(1)])

def _check_dims(self, dims: Iterable[str]) -> None:
def _check_dims(self, dims: Iterable) -> None:
"""Check if the request dimensions exist."""

dx_dims = [str(x) for x in self.dx.dims]
Expand Down Expand Up @@ -508,7 +508,7 @@ def load_and_save_by_step(
indexers, indexers_kwargs
)

self._check_dims(list(dims_and_steps.keys()))
self._check_dims(dims_and_steps.keys())

# apply load for each data variable
for idx, var in enumerate(list(self.ds.data_vars)):
Expand Down

0 comments on commit f2dc524

Please sign in to comment.