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 84c545f commit bd912efCopy full SHA for bd912ef
src/zarr/storage/memory.py
@@ -61,7 +61,9 @@ async def empty(self) -> bool:
61
62
async def clear(self) -> None:
63
# docstring inherited
64
- self._store_dict.clear()
+ for k in tuple(self._store_dict.keys()):
65
+ if k.startswith(self.path):
66
+ del self._store_dict[k]
67
68
def with_mode(self, mode: AccessModeLiteral) -> Self:
69
0 commit comments