Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Oct 10, 2024
1 parent b5fb721 commit d17f955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/zarr/core/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ async def open(
# V3 groups are comprised of a zarr.json object
assert zarr_json_bytes is not None
if not isinstance(use_consolidated, bool | None):
raise TypeError("use_consolidated must be a bool for Zarr V3.")
raise TypeError("use_consolidated must be a bool or None for Zarr V3.")

return cls._from_bytes_v3(
store_path,
Expand Down Expand Up @@ -1166,8 +1166,8 @@ async def _members(

# hmm lots of I/O and logic interleaved here.
# We *could* have an async gen over self.metadata.consolidated_metadata.metadata.keys()
# and plug in here.l `getitem` will skip I/O.
# Kinda a shape to have all the asyncio task overhead though, when it isn't needed.
# and plug in here. `getitem` will skip I/O.
# Kinda a shame to have all the asyncio task overhead though, when it isn't needed.

async for key in self.store_path.store.list_dir(self.store_path.path):
if key in _skip_keys:
Expand Down

0 comments on commit d17f955

Please sign in to comment.