mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Another docs test
This commit is contained in:
parent
28f6b18f55
commit
582ac59bf7
|
@ -49,13 +49,13 @@ 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) {
|
query getUser($id: ID) {
|
||||||
user(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