Fix example query in quickstart doc (#1139)

This commit is contained in:
Lem Ko 2020-02-21 19:15:51 +08:00 committed by GitHub
parent be97a369f7
commit ba5b7dd3d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ Then we can start querying our **Schema** by passing a GraphQL query string to `
query_string = '{ hello }'
result = schema.execute(query_string)
print(result.data['hello'])
# "Hello stranger"
# "Hello stranger!"
# or passing the argument in the query
query_with_argument = '{ hello(name: "GraphQL") }'