Skip to content

Commit

Permalink
Remove @staticmethod decorator in mutations doc (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkimbo authored Jun 25, 2020
1 parent 47c63f3 commit 4b70186
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/types/mutations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4b70186

Please sign in to comment.