Small formatting fix to test docs integration

This commit is contained in:
Eran Kampf 2019-04-08 12:33:29 -07:00
parent 7b6dae7fa3
commit 28f6b18f55

View File

@ -48,12 +48,14 @@ You can pass variables to a query via ``variables``.
schema = graphene.Schema(Query)
result = schema.execute(
'''query getUser($id: ID) {
'''
query getUser($id: ID) {
user(id: $id) {
id
firstName
lastName
}
}''',
}
''',
variables={'id': 12},
)