Fix Typo in Docs

The example of executing a query by passing a root value had a typo for
the trailing parenthesis, namely it was '}' instead of ')'.
This commit is contained in:
Daniel T. Plop 2020-08-12 17:23:48 +02:00
parent 86b904d327
commit 749877c20a

View File

@ -85,7 +85,7 @@ Value used for :ref:`ResolverParamParent` in root queries and mutations can be o
return {'id': root.id, 'firstName': root.name}
schema = Schema(Query)
user_root = User(id=12, name='bob'}
user_root = User(id=12, name='bob')
result = schema.execute(
'''
query getUser {