Nothing Special   »   [go: up one dir, main page]

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

Move away from using type hints beginning with Dict[, List[, Tuple[ #71

Open
johndoknjas opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@johndoknjas
Copy link

Due to the from __future__ import annotations line in models.py, subscripting types with containers directly (e.g., dict[) will work for Python 3.7+. I don't think replacing usages of the typing library in these instances will have backwards compatibility issues, but I may be wrong.

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