mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-10 19:56:45 +03:00
Fix example query in quickstart doc (#1139)
This commit is contained in:
parent
be97a369f7
commit
ba5b7dd3d7
|
@ -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") }'
|
||||
|
|
Loading…
Reference in New Issue
Block a user