We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0329547 commit d0b7fbfCopy full SHA for d0b7fbf
src/async_utils/task_cache.py
@@ -28,7 +28,7 @@
28
29
# Use below doesn't accept non-task Futures, so can't accept general awaitables
30
type CoroFunc[**P, R] = Callable[P, Coroutine[t.Any, t.Any, R]]
31
-type TaskFunc[**P, R] = CoroFunc[P, R] | Callable[P, asyncio.Task[R]]
+type TaskFunc[**P, R] = Callable[P, asyncio.Task[R]]
32
type TaskCoroFunc[**P, R] = CoroFunc[P, R] | TaskFunc[P, R]
33
34
type _CT_RET = tuple[tuple[t.Any, ...], dict[str, t.Any]]
0 commit comments