Skip to content

Remove deprecated _field_types attribute for Python 3.9 #31

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

Closed
wants to merge 2 commits into from

Conversation

mathom
Copy link

@mathom mathom commented Jun 16, 2021

The _field_types attribute was marked as deprecated for a while and was removed in favor of using __annotations__ in Python 3.9: https://bugs.python.org/issue40182

I also had to fix some of the Mypy test formatting because the error messages were changed to use double quotes python/mypy#7445

@NazarioJL
Copy link
Contributor

@mathom see #33 improves a bit on your PR. I need to see with the maintainers if they are ok with formatting the whole project with black, otherwise I'll just remove the black hook from pre-commit.

@fsouza
Copy link
Contributor

fsouza commented Jul 19, 2021

Fixed by #33 😁

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.

3 participants