Skip to content

Commit a761953

Browse files
committed
Fix mypy
1 parent d737c44 commit a761953

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

icechunk-python/python/icechunk/store.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ async def set_partial_values(
312312
"""
313313
# NOTE: pyo3 does not implicit conversion from an Iterable to a rust iterable. So we convert it
314314
# to a list here first. Possible opportunity for optimization.
315-
return await self._store.set_partial_values(list(key_start_values))
315+
# NOTE: currently we only implement the case where the values are bytes
316+
return await self._store.set_partial_values(list(key_start_values)) # type: ignore[arg-type]
316317

317318
@property
318319
def supports_listing(self) -> bool:

icechunk-python/tests/run_xarray_backends_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
)
2424
from xarray.tests.test_backends import (
2525
ZarrBase,
26-
default_zarr_format, # noqa: F401; needed otherwise not discovered
26+
# needed otherwise not discovered
27+
default_zarr_format, # noqa: F401, RUF100
2728
)
2829

2930

0 commit comments

Comments
 (0)