Skip to content

Commit

Permalink
fix: remove Graph import from dask.typing in backend_dask as it seems…
Browse files Browse the repository at this point in the history
… to cause errors
  • Loading branch information
philtweir committed Sep 10, 2024
1 parent 713882a commit 6714786
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dewret/backends/backend_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"""

from dask.delayed import delayed, DelayedLeaf
from dask.typing import Graph
from dask.config import config
from typing import Protocol, runtime_checkable, Any, cast
from concurrent.futures import ThreadPoolExecutor
Expand All @@ -37,7 +36,7 @@ class Delayed(Protocol):
"""

@property
def __dask_graph__(self) -> Graph:
def __dask_graph__(self): # type: ignore
"""Retrieve the dask graph."""
...

Expand Down

0 comments on commit 6714786

Please sign in to comment.