This commit is contained in:
Tom Christie 2018-11-12 10:58:18 +00:00
commit 5845f71374
2 changed files with 2 additions and 1 deletions

View File

@ -51,5 +51,5 @@ class Query(graphene.ObjectType):
app = Starlette() app = Starlette()
# We're using `executor=AsyncioExecutor()` here. # We're using `executor=AsyncioExecutor()` here.
app.add_route('/', GraphQLApp(schema=graphene.Schema(query=Query, executor=AsyncioExecutor()))) app.add_route('/', GraphQLApp(schema=graphene.Schema(query=Query), executor=AsyncioExecutor()))
``` ```

View File

@ -48,6 +48,7 @@ setup(
'aiofiles', 'aiofiles',
'graphene', 'graphene',
'itsdangerous', 'itsdangerous',
'jinja2',
'python-multipart', 'python-multipart',
'pyyaml', 'pyyaml',
'requests', 'requests',