Skip to content

Commit

Permalink
Merge branch 'main' into fix/run-coverage-hatch-cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman authored Jan 2, 2025
2 parents 0791641 + b9699f5 commit 723b046
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
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
7 changes: 0 additions & 7 deletions test.py

This file was deleted.

0 comments on commit 723b046

Please sign in to comment.