Skip to content

Commit fec243d

Browse files
committed
correct return type hint
1 parent bdbdd61 commit fec243d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ def __setitem__(self, selection: OrthogonalSelection, value: npt.ArrayLike) -> N
964964
class AsyncOIndex:
965965
array: AsyncArray
966966

967-
async def getitem(self, selection: OrthogonalSelection | Array) -> NDArrayLike:
967+
async def getitem(self, selection: OrthogonalSelection | Array) -> NDArrayLikeOrScalar:
968968
from zarr.core.array import Array
969969

970970
# if input is a Zarr array, we materialize it now.

0 commit comments

Comments
 (0)