Skip to content

Commit

Permalink
Update src/zarr/v3/store/memory.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman authored Apr 19, 2024
1 parent 9b2003c commit ccb2dfe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/zarr/v3/store/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ async def list_prefix(self, prefix: str) -> AsyncGenerator[str, None]:
yield key

async def list_dir(self, prefix: str) -> AsyncGenerator[str, None]:
print('prefix', prefix)
print('keys in list_dir', list(self._store_dict))
for key in self._store_dict:
if key.startswith(prefix + "/") and key != prefix:
yield key.strip(prefix + "/").rsplit("/", maxsplit=1)[0]

0 comments on commit ccb2dfe

Please sign in to comment.