mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 20:54:16 +03:00
Merge pull request #560 from nikolas/patch-1
quickstart: use print function in example query
This commit is contained in:
commit
7b08dbd2a1
|
@ -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