Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/zarr/storage/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,18 @@ async def set_partial_values(
await concurrent_map(args, asyncio.to_thread, limit=None) # TODO: fix limit

async def delete(self, key: str) -> None:
"""
Remove a key from the store.

Parameters
----------
key : str

Notes
-----
If ``key`` is a directory within this store, the entire directory
at ``store.root / key`` is deleted.
"""
# docstring inherited
self._check_writable()
path = self.root / key
Expand Down
Loading