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 26b0fc0 commit f342523Copy full SHA for f342523
graphql/execution/executors/asyncio.py
@@ -6,7 +6,7 @@
6
7
# Necessary for static type checking
8
if False: # flake8: noqa
9
- from asyncio.unix_events import _UnixSelectorEventLoop
+ from asyncio import AbstractEventLoop
10
from typing import Optional, Any, Callable, List
11
12
try:
@@ -51,7 +51,7 @@ def asyncgen_to_observable(asyncgen, loop=None):
51
52
class AsyncioExecutor(object):
53
def __init__(self, loop=None):
54
- # type: (Optional[_UnixSelectorEventLoop]) -> None
+ # type: (Optional[AbstractEventLoop]) -> None
55
if loop is None:
56
loop = get_event_loop()
57
self.loop = loop
0 commit comments