Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
What is the current behavior?
error in default example from documentation
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
a github repo, https://repl.it or similar.
import graphene
class CreatePerson(graphene.Mutation):
class Arguments:
name = graphene.String()
ok = graphene.Boolean()
def mutate(root, info, name):
ok = True
return CreatePerson(ok=ok)
* **What is the expected behavior?**
* **What is the motivation / use case for changing the behavior?**
* **Please tell us about your environment:**
- Version: graphene = "^3.3"
- Platform: Windows 10, Pycharm 2023.2.1 (Professional Edition)
* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow)
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
class CreatePerson(graphene.Mutation): class Arguments: name = graphene.String()