Skip to content

Commit

Permalink
one more typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Mar 27, 2024
1 parent 7233a79 commit 74a2122
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1562,9 +1562,7 @@ def _auto_detect_regions(ds, region, open_kwargs):
return region


def _validate_and_autodetect_region(
ds, region, mode, open_kwargs
) -> tuple[dict[str, slice], bool]:
def _validate_and_autodetect_region(ds, region, mode, open_kwargs) -> dict[str, slice]:
if region == "auto":
region = {dim: "auto" for dim in ds.dims}

Expand Down

0 comments on commit 74a2122

Please sign in to comment.