File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ Then, serve the result of a query against that type schema.
9898``` python
9999from graphql import graphql_sync
100100
101- query = ' { hello }'
101+ source = ' { hello }'
102102
103- print (graphql_sync(schema, query ))
103+ print (graphql_sync(schema, source ))
104104```
105105
106106This 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.
115115``` python
116116from graphql import graphql_sync
117117
118- query = ' { BoyHowdy }'
118+ source = ' { BoyHowdy }'
119119
120- print (graphql_sync(schema, query ))
120+ print (graphql_sync(schema, source ))
121121```
122122
123123Because we queried a non-existing field, we will get the following result:
You can’t perform that action at this time.
0 commit comments