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 63cca30 commit 4dc39aaCopy full SHA for 4dc39aa
graphql/execution/executors/asyncio.py
@@ -32,20 +32,23 @@ def ensure_future(coro_or_future, loop=None): # type: ignore
32
else:
33
raise TypeError("A Future, a coroutine or an awaitable is required")
34
35
+
36
try:
37
from inspect import isasyncgen # type: ignore
38
except Exception:
39
40
def isasyncgen(object): # type: ignore
41
False
42
43
44
45
from .asyncio_utils import asyncgen_to_observable
46
47
48
def asyncgen_to_observable(asyncgen, loop=None):
49
pass
50
51
52
class AsyncioExecutor(object):
53
def __init__(self, loop=None):
54
# type: (Optional[_UnixSelectorEventLoop]) -> None
0 commit comments