From c400e1fff725dc0383398ac2a4a1faa3cd0fa52b Mon Sep 17 00:00:00 2001 From: Adam Ever Hadani Date: Wed, 21 Sep 2016 17:28:49 -0700 Subject: [PATCH] fix the hello world example in the README --- README.md | 2 +- README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b0ab346..ecb18168 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Here is one example for get you 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) diff --git a/README.rst b/README.rst index 1d5f34f4..229f72bc 100644 --- a/README.rst +++ b/README.rst @@ -58,7 +58,7 @@ Here is one example for get you 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)