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 6db5e0b commit 888b984Copy full SHA for 888b984
src/zarr/core/array.py
@@ -4014,7 +4014,7 @@ async def from_array(
4014
if not hasattr(data, "dtype") or not hasattr(data, "shape"):
4015
data = np.array(data)
4016
4017
- meta = await init_array(
+ result = await init_array(
4018
store_path=store_path,
4019
shape=data.shape,
4020
dtype=data.dtype,
@@ -4030,8 +4030,8 @@ async def from_array(
4030
chunk_key_encoding=chunk_key_encoding,
4031
dimension_names=dimension_names,
4032
overwrite=overwrite,
4033
+ config=config_parsed,
4034
)
- result = AsyncArray(metadata=meta, store_path=store_path, config=config_parsed)
4035
4036
if write_data:
4037
if isinstance(data, Array):
0 commit comments