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)
|
||||
result = schema.execute(
|
||||
'''
|
||||
query getUser($id: ID) {
|
||||
user(id: $id) {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
}
|
||||
query getUser($id: ID) {
|
||||
user(id: $id) {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
}
|
||||
}
|
||||
''',
|
||||
variables={'id': 12},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user