Skip to content

Commit 28f6b18

Browse files
committed
Small formatting fix to test docs integration
1 parent 7b6dae7 commit 28f6b18

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/execution/execute.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ You can pass variables to a query via ``variables``.
4848
4949
schema = graphene.Schema(Query)
5050
result = schema.execute(
51-
'''query getUser($id: ID) {
52-
user(id: $id) {
51+
'''
52+
query getUser($id: ID) {
53+
user(id: $id) {
5354
id
5455
firstName
5556
lastName
57+
}
5658
}
57-
}''',
59+
''',
5860
variables={'id': 12},
5961
)

0 commit comments

Comments
 (0)