mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
fix typo in docs/execution
This commit is contained in:
parent
8cae7bd16f
commit
bad6f5a188
|
@ -10,7 +10,7 @@ For executing a query a schema, you can directly call the ``execute`` method on
|
||||||
schema = graphene.Schema(...)
|
schema = graphene.Schema(...)
|
||||||
result = schema.execute('{ name }')
|
result = schema.execute('{ name }')
|
||||||
|
|
||||||
``result`` represents he result of execution. ``result.data`` is the result of executing the query, ``result.errors`` is ``None`` if no errors occurred, and is a non-empty list if an error occurred.
|
``result`` represents the result of execution. ``result.data`` is the result of executing the query, ``result.errors`` is ``None`` if no errors occurred, and is a non-empty list if an error occurred.
|
||||||
|
|
||||||
|
|
||||||
Context
|
Context
|
||||||
|
|
Loading…
Reference in New Issue
Block a user