mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-29 04:53:55 +03:00
Small formatting fix to test docs integration
This commit is contained in:
parent
7b6dae7fa3
commit
28f6b18f55
|
@ -48,12 +48,14 @@ You can pass variables to a query via ``variables``.
|
||||||
|
|
||||||
schema = graphene.Schema(Query)
|
schema = graphene.Schema(Query)
|
||||||
result = schema.execute(
|
result = schema.execute(
|
||||||
'''query getUser($id: ID) {
|
'''
|
||||||
user(id: $id) {
|
query getUser($id: ID) {
|
||||||
|
user(id: $id) {
|
||||||
id
|
id
|
||||||
firstName
|
firstName
|
||||||
lastName
|
lastName
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}''',
|
''',
|
||||||
variables={'id': 12},
|
variables={'id': 12},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user