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

Update to new type hint standard #36

Open
Vlek opened this issue Feb 19, 2021 · 1 comment
Open

Update to new type hint standard #36

Vlek opened this issue Feb 19, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Vlek
Copy link
Owner

Vlek commented Feb 19, 2021

Type hints have been standardized to use generics as of 3.9 with backwards capability to 3.7 by importing from __futures import annotations

We can change a number of areas to remove Dict and List notations. However, I believe we may be stuck with Union? Will have to research further to ensure this is correct.

@Vlek Vlek added the enhancement New feature or request label Feb 21, 2021
@Vlek Vlek self-assigned this Feb 21, 2021
@Vlek
Copy link
Owner Author

Vlek commented Jul 15, 2021

Started using this as of 2.1.0 with the Keep notation. I do not believe that it is used wholly yet though, so I will keep this open until I have had a change to go through the project and ensure complete adoption of the new standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant