Update graphene/types/field.py

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
This commit is contained in:
David Anderson 2019-06-04 17:52:06 -04:00 committed by Dave A
parent f8a6aa201b
commit 2b01a8ece2

View File

@ -50,7 +50,7 @@ class Field(MountedType):
object. Alternative to resolver (cannot set both source and resolver).
deprecation_reason (optional, str): Setting this value indicates that the field is
depreciated and may provide instruction or reason on how for clients to proceed.
required (optional, bool). Indicates this field as not null in the graphql scehma. Same behavior as
required (optional, bool): indicates this field as not null in the graphql scehma. Same behavior as
graphene.NonNull. Default False.
name (optional, str): the name of the GraphQL field (must be unique in a type). Defaults to attribute
name.