Skip to content

Commit 32b4f5f

Browse files
authored
ignore mypy (#1374)
1 parent ec3b9e7 commit 32b4f5f

File tree

1 file changed

+3
-2
lines changed
  • icechunk-python/python/icechunk

1 file changed

+3
-2
lines changed

icechunk-python/python/icechunk/dask.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ def merge_sessions_array_kwargs(
4747

4848

4949
def _assert_correct_dask_version() -> None:
50-
if Version(dask.__version__) < Version("2024.11.0"):
50+
dask_version = dask.__version__ # type: ignore[attr-defined]
51+
if Version(dask_version) < Version("2024.11.0"):
5152
raise ValueError(
52-
f"Writing to icechunk requires dask>=2024.11.0 but you have {dask.__version__}. Please upgrade."
53+
f"Writing to icechunk requires dask>=2024.11.0 but you have {dask_version}. Please upgrade."
5354
)
5455

5556

0 commit comments

Comments
 (0)