Skip to content

Commit

Permalink
One left
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Oct 21, 2024
1 parent 0e0e5ac commit 3873fde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions virtualizarr/writers/icechunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ def write_manifest_virtual_refs(
# loop over every reference in the ChunkManifest for that array
# TODO inefficient: this should be replaced with something that sets all (new) references for the array at once
# but Icechunk need to expose a suitable API first
# type: ignore
it = np.nditer(
# type: ignore[arg-type]
it = np.nditer(
[manifest._paths, manifest._offsets, manifest._lengths],
flags=[
flags=[
"refs_ok",
"multi_index",
"c_index", # TODO is "c_index" correct? what's the convention for zarr chunk keys?
Expand Down
3 changes: 1 addition & 2 deletions virtualizarr/zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ def _v3_codec_pipeline(self) -> Any:
```
"""
try:
# type: ignore[import-untyped]
from zarr.core.metadata.v3 import (
from zarr.core.metadata.v3 import ( # type: ignore[import-untyped]
parse_codecs,
)
except ImportError:
Expand Down

0 comments on commit 3873fde

Please sign in to comment.