We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5379b4a commit 52653bdCopy full SHA for 52653bd
xarray/core/types.py
@@ -217,7 +217,9 @@ def copy(
217
T_ChunkDimFreq: TypeAlias = Union["TimeResampler", T_ChunkDim]
218
T_ChunksFreq: TypeAlias = T_ChunkDim | Mapping[Any, T_ChunkDimFreq]
219
# We allow the tuple form of this (though arguably we could transition to named dims only)
220
-T_Chunks: TypeAlias = T_ChunkDim | Mapping[Any, T_ChunkDim]
+T_Chunks: TypeAlias = (
221
+ T_ChunkDim | Mapping[Any, T_ChunkDim] | Mapping[Any, Mapping[Any, T_ChunkDim]]
222
+)
223
T_NormalizedChunks = tuple[tuple[int, ...], ...]
224
225
DataVars = Mapping[Any, Any]
0 commit comments