Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed import causing Graphene v3 to crash #1143

Merged
merged 2 commits into from
Feb 26, 2020

Conversation

jaydenwindle
Copy link
Contributor

This PR fixes #1142 by importing INVALID from graphql instead of graphql.errors in graphene/types/datetime.py.

@Cito
Copy link
Member

Cito commented Feb 26, 2020

Thanks for the fix. Since you're at it already, you should also change this to use Undefined instead of INVALID which has been deprecated.

@jaydenwindle
Copy link
Contributor Author

@Cito Good call, will do :)

@Cito Cito merged commit ac98be7 into graphql-python:master Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Graphene v3 crashes on import
2 participants