diff --git a/src/load_by_step/_load_by_step.py b/src/load_by_step/_load_by_step.py index 00f1593..1d8a320 100644 --- a/src/load_by_step/_load_by_step.py +++ b/src/load_by_step/_load_by_step.py @@ -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] @@ -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)):