Skip to content

Commit 85ce747

Browse files
Update src/zarr/core/array.py
Co-authored-by: Joe Hamman <[email protected]>
1 parent e1b0dbe commit 85ce747

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/zarr/core/array.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,25 +1043,6 @@ async def getitem(
10431043
async def _save_metadata(self, metadata: ArrayMetadata, ensure_parents: bool = False) -> None:
10441044
"""
10451045
Asynchronously save the array metadata.
1046-
1047-
Parameters
1048-
----------
1049-
metadata : ArrayMetadata
1050-
The metadata to be saved for the array. This typically includes information about the
1051-
array's shape, dtype, chunking, etc.
1052-
1053-
ensure_parents : bool, optional
1054-
If True, ensures that any necessary parent directories are created before saving the metadata.
1055-
Default is False.
1056-
1057-
Returns
1058-
-------
1059-
None
1060-
This method does not return any value.
1061-
1062-
Notes
1063-
-----
1064-
- This method is asynchronous and should be awaited.
10651046
"""
10661047
to_save = metadata.to_buffer_dict(default_buffer_prototype())
10671048
awaitables = [set_or_delete(self.store_path / key, value) for key, value in to_save.items()]

0 commit comments

Comments
 (0)