We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28f6b18 commit 582ac59Copy full SHA for 582ac59
1 file changed
docs/execution/execute.rst
@@ -49,13 +49,13 @@ You can pass variables to a query via ``variables``.
49
schema = graphene.Schema(Query)
50
result = schema.execute(
51
'''
52
- query getUser($id: ID) {
53
- user(id: $id) {
54
- id
55
- firstName
56
- lastName
57
- }
+ query getUser($id: ID) {
+ user(id: $id) {
+ id
+ firstName
+ lastName
58
}
+ }
59
''',
60
variables={'id': 12},
61
)
0 commit comments