mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
quickstart: use print function in example query
This commit is contained in:
parent
2cc701f444
commit
37fbbf55fa
|
@ -52,6 +52,6 @@ Then we can start querying our schema:
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
result = schema.execute('{ hello }')
|
result = schema.execute('{ hello }')
|
||||||
print result.data['hello'] # "Hello stranger"
|
print(result.data['hello']) # "Hello stranger"
|
||||||
|
|
||||||
Congrats! You got your first graphene schema working!
|
Congrats! You got your first graphene schema working!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user