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

Use python3.10 typing primitives #136

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

sergiitk
Copy link
Member

@sergiitk sergiitk commented Oct 9, 2024

TypeAlias was added in 3.10, so now we don't need to import it from typing_extensions anymore.

Updating it now everywhere so that the old-style import doesn't spread by-copypasting.

@sergiitk sergiitk force-pushed the py310-typing branch 2 times, most recently from d0a54b9 to ae5b877 Compare October 9, 2024 20:08
@sergiitk
Copy link
Member Author

sergiitk commented Oct 9, 2024

looks like pylint doesn't like it new (Type | None) notation.

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.

1 participant