Skip to content

Commit 804cf12

Browse files
committed
rollback ...
1 parent 056398e commit 804cf12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/zarr/api/asynchronous.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ async def load(
244244

245245
obj = await open(store=store, path=path, zarr_format=zarr_format)
246246
if isinstance(obj, AsyncArray):
247-
return await obj.getitem(...)
247+
return await obj.getitem(slice(None))
248248
else:
249249
raise NotImplementedError("loading groups not yet supported")
250250

@@ -408,7 +408,7 @@ async def save_array(
408408
chunks=chunks,
409409
**kwargs,
410410
)
411-
await new.setitem(..., arr)
411+
await new.setitem(slice(None), arr)
412412

413413

414414
async def save_group(
@@ -520,7 +520,7 @@ async def array(
520520
z = await create(**kwargs)
521521

522522
# fill with data
523-
await z.setitem(..., data)
523+
await z.setitem(slice(None), data)
524524

525525
return z
526526

0 commit comments

Comments
 (0)