mirror of https://github.com/encode/starlette.git
Merge branch 'master' of https://github.com/encode/starlette
This commit is contained in:
commit
5845f71374
|
@ -51,5 +51,5 @@ class Query(graphene.ObjectType):
|
|||
app = Starlette()
|
||||
|
||||
# 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()))
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue