Remove @staticmethod decorator in mutations doc (#1206)

This commit is contained in:
Jonathan Kim 2020-06-25 03:18:59 +01:00 committed by GitHub
parent 47c63f3dd7
commit 4b70186031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,6 @@ To use an InputField you define an InputObjectType that specifies the structure
person = graphene.Field(Person)
@staticmethod
def mutate(root, info, person_data=None):
person = Person(
name=person_data.name,