Skip to content

Commit

Permalink
Fix black formatting again
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Dec 31, 2019
1 parent 63cca30 commit 4dc39aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graphql/execution/executors/asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,23 @@ def ensure_future(coro_or_future, loop=None): # type: ignore
else:
raise TypeError("A Future, a coroutine or an awaitable is required")


try:
from inspect import isasyncgen # type: ignore
except Exception:

def isasyncgen(object): # type: ignore
False


try:
from .asyncio_utils import asyncgen_to_observable
except Exception:

def asyncgen_to_observable(asyncgen, loop=None):
pass


class AsyncioExecutor(object):
def __init__(self, loop=None):
# type: (Optional[_UnixSelectorEventLoop]) -> None
Expand Down

0 comments on commit 4dc39aa

Please sign in to comment.