We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e43b1f commit 1a30563Copy full SHA for 1a30563
src/zarr/core/indexing.py
@@ -34,7 +34,7 @@
34
from zarr.core.common import ChunkCoords
35
36
IntSequence = list[int] | npt.NDArray[np.intp]
37
-ArrayOfIntOrBool = npt.NDArray[np.intp] | npt.NDArray[np.bool_]
+ArrayOfIntOrBool = IntSequence | npt.NDArray[np.bool_]
38
BasicSelector = int | slice | EllipsisType
39
Selector = BasicSelector | ArrayOfIntOrBool
40
BasicSelection = BasicSelector | tuple[BasicSelector, ...] # also used for BlockIndex
0 commit comments