Skip to content

Commit c69c98d

Browse files
authored
Apply suggestions from code review
1 parent 4ed77a5 commit c69c98d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/zarr/core/indexing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ def __iter__(self) -> Iterator[ChunkProjection]:
848848
class OIndex:
849849
array: Array
850850

851+
# TODO: develop Array generic and move zarr.Array[np.intp] | zarr.Array[np.bool_] to ArrayOfIntOrBool
851852
def __getitem__(self, selection: OrthogonalSelection | Array) -> NDArrayLike:
852853
from zarr.core.array import Array
853854

@@ -1142,6 +1143,7 @@ def __init__(self, selection: MaskSelection, shape: ChunkCoords, chunk_grid: Chu
11421143
class VIndex:
11431144
array: Array
11441145

1146+
# TODO: develop Array generic and move zarr.Array[np.intp] | zarr.Array[np.bool_] to ArrayOfIntOrBool
11451147
def __getitem__(self, selection: CoordinateSelection | MaskSelection | Array) -> NDArrayLike:
11461148
from zarr.core.array import Array
11471149

0 commit comments

Comments
 (0)