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)