This commit is contained in:
Adam Ever-Hadani 2017-06-02 19:25:26 +00:00 committed by GitHub
commit ea891b4b63
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ Here is one example for you to get started:
class Query(graphene.ObjectType):
hello = graphene.String(description='A typical hello world')
def resolve_hello(self, args, context, info):
def resolve_hello(self, args, info):
return 'World'
schema = graphene.Schema(query=Query)

View File

@ -65,7 +65,7 @@ Here is one example for you to get started:
class Query(graphene.ObjectType):
hello = graphene.String(description='A typical hello world')
def resolve_hello(self, args, context, info):
def resolve_hello(self, args, info):
return 'World'
schema = graphene.Schema(query=Query)