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 180ca9b commit a48efa8Copy full SHA for a48efa8
src/zarr/core/group.py
@@ -693,7 +693,8 @@ async def getitem(
693
return _build_node_v2(metadata=metadata, store_path=store_path)
694
else:
695
# this is just for mypy
696
- assert zgroup is not None
+ if TYPE_CHECKING:
697
+ assert zgroup is not None
698
metadata = _build_metadata_v2(zgroup, zattrs)
699
700
0 commit comments