Closed faresemad closed 1 year ago
Hey there, this is indeed a bug. Moving to graphene-django
. For a fix, please downgrade to 3.1.3
. @firaskafri
We should probably also change the publish workflow (https://github.com/graphql-python/graphene-django/blob/main/.github/workflows/deploy.yml) so that it runs the full CI first (tests, etc) and only publishes when successful.
Hello,
I am currently working on a large Django project that utilizes the Graphene framework to implement GraphQL in the application. I've encountered an issue while attempting to run the project, where a SyntaxError is raised, pointing to the
graphene_django/__init__.py
file on line 1. Error message:Upon investigating the issue, I noticed that there is a mistake in the import statement in the
graphene_django/__init__.py
file on the first line. An extra "x" character was mistakenly included at the beginning of the line.The correct import should be as follows:
Please review your imports in this file and related files to ensure proper syntax.
I hope this information proves helpful, and feel free to reach out if you need further assistance or have additional questions.
Thank you very much!