Skip to content

Commit 05a0fb4

Browse files
committed
Fix typing
1 parent 7038f37 commit 05a0fb4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

xarray/namedarray/daskmanager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ def shuffle(
261261
raise ValueError(
262262
"This method is very inefficient on dask<2024.08.1. Please upgrade."
263263
)
264-
chunks = chunks or "auto"
264+
if chunks is None:
265+
chunks = "auto"
265266
if chunks != "auto":
266267
raise NotImplementedError("Only chunks='auto' is supported at present.")
267-
return dask.array.shuffle(x, indexer, axis, chunks=chunks)
268+
return dask.array.shuffle(x, indexer, axis, chunks="auto")

0 commit comments

Comments
 (0)