From 804cf12a37373e88766623cd32da002b58f31a24 Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Wed, 23 Oct 2024 15:34:29 -0700 Subject: [PATCH] rollback ... --- src/zarr/api/asynchronous.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zarr/api/asynchronous.py b/src/zarr/api/asynchronous.py index fc15c75c9..cd8c3543c 100644 --- a/src/zarr/api/asynchronous.py +++ b/src/zarr/api/asynchronous.py @@ -244,7 +244,7 @@ async def load( obj = await open(store=store, path=path, zarr_format=zarr_format) if isinstance(obj, AsyncArray): - return await obj.getitem(...) + return await obj.getitem(slice(None)) else: raise NotImplementedError("loading groups not yet supported") @@ -408,7 +408,7 @@ async def save_array( chunks=chunks, **kwargs, ) - await new.setitem(..., arr) + await new.setitem(slice(None), arr) async def save_group( @@ -520,7 +520,7 @@ async def array( z = await create(**kwargs) # fill with data - await z.setitem(..., data) + await z.setitem(slice(None), data) return z