mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-18 12:02:19 +03:00
Remove @staticmethod decorator in mutations doc
This commit is contained in:
parent
47c63f3dd7
commit
10587222eb
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user