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

Switch to PEP 563 style typing #389

Closed
raman325 opened this issue Mar 16, 2022 · 1 comment
Closed

Switch to PEP 563 style typing #389

raman325 opened this issue Mar 16, 2022 · 1 comment

Comments

@raman325
Copy link
Contributor

raman325 commented Mar 16, 2022

Since we target python 3.8 at a minimum, we can switch to https://peps.python.org/pep-0563/ style typing which will make types less verbose

@raman325
Copy link
Contributor Author

did some testing and pydantic doesn't like PEP 563 style annotations. See here for more background: pydantic/pydantic#2678

I don't think it makes sense to introduce a new annotation style unless we can do it across the board, so closing this for now

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

No branches or pull requests

1 participant