From 67147868da1057611e8b317507f8c5979587f64b Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Tue, 10 Sep 2024 23:08:45 +0100 Subject: [PATCH] fix: remove Graph import from dask.typing in backend_dask as it seems to cause errors --- src/dewret/backends/backend_dask.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dewret/backends/backend_dask.py b/src/dewret/backends/backend_dask.py index 48d55859..47228d20 100644 --- a/src/dewret/backends/backend_dask.py +++ b/src/dewret/backends/backend_dask.py @@ -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 @@ -37,7 +36,7 @@ class Delayed(Protocol): """ @property - def __dask_graph__(self) -> Graph: + def __dask_graph__(self): # type: ignore """Retrieve the dask graph.""" ...