We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a9145 commit b969a9dCopy full SHA for b969a9d
README.md
@@ -98,9 +98,9 @@ Then, serve the result of a query against that type schema.
98
```python
99
from graphql import graphql_sync
100
101
-query = '{ hello }'
+source = '{ hello }'
102
103
-print(graphql_sync(schema, query))
+print(graphql_sync(schema, source))
104
```
105
106
This runs a query fetching the one field defined, and then prints the result:
@@ -115,9 +115,9 @@ semantically valid before executing it, reporting errors otherwise.
115
116
117
118
-query = '{ BoyHowdy }'
+source = '{ BoyHowdy }'
119
120
121
122
123
Because we queried a non-existing field, we will get the following result:
0 commit comments