mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
Merge pull request #77 from BillyBarbaro/master
Changed mutation documentation in reference to Issue #76
This commit is contained in:
commit
a7c28f26ad
|
@ -22,7 +22,7 @@ class CreatePerson(graphene.Mutation):
|
|||
person = graphene.Field('Person')
|
||||
|
||||
@classmethod
|
||||
def mutate(cls, args, info):
|
||||
def mutate(cls, instance, args, info):
|
||||
person = Person(name=args.get('name'))
|
||||
ok = True
|
||||
return CreatePerson(person=person, ok=ok)
|
||||
|
|
Loading…
Reference in New Issue
Block a user