Skip to content

Commit

Permalink
Update _typing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Aug 3, 2024
1 parent 116c920 commit 6399dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/namedarray/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def dtype(self) -> _DType_co: ...
_ChunksType = TypeVar("_ChunksType", bound=_Chunks)

# FYI in some cases we don't allow `None`, which this doesn't take account of.
T_ChunkDim: TypeAlias = Union[int, Literal["auto"], None, tuple[int, ...]]
T_ChunkDim: TypeAlias = Union[int, Literal["auto"], None, _Chunk]
# We allow the tuple form of this (though arguably we could transition to named dims only)
T_Chunks: TypeAlias = Union[T_ChunkDim, Mapping[Any, T_ChunkDim]]

Expand Down

0 comments on commit 6399dab

Please sign in to comment.