Fix example query in quickstart doc

This commit is contained in:
Lem Lordje Ko 2020-02-21 13:47:37 +08:00
parent be97a369f7
commit 18751e2863

View File

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