We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fbc4f4 commit 605ce0aCopy full SHA for 605ce0a
1 file changed
adaptive/runner.py
@@ -36,7 +36,6 @@
36
if TYPE_CHECKING:
37
import distributed
38
import ipyparallel
39
- import ipyparallel.client.asyncresult
40
import mpi4py.futures
41
42
ExecutorTypes: TypeAlias = (
@@ -50,12 +49,7 @@
50
49
| ipyparallel.Client
51
| ipyparallel.client.view.ViewExecutor
52
)
53
- FutureTypes: TypeAlias = (
54
- concurrent.Future
55
- | asyncio.Future
56
- | asyncio.Task
57
- | ipyparallel.client.asyncresult.AsyncResult
58
- )
+ FutureTypes: TypeAlias = concurrent.Future | asyncio.Future
59
60
61
with suppress(ModuleNotFoundError):
0 commit comments