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 shorthand syntax for unions #10

Merged
merged 1 commit into from
Jan 12, 2025
Merged

Use shorthand syntax for unions #10

merged 1 commit into from
Jan 12, 2025

Conversation

nanxstats
Copy link
Collaborator

Fixes #8

This PR updates the type annotations to use shorthand syntax for unions defined by PEP 604 and recommended by the Typing Best Practices article.

@nanxstats nanxstats merged commit cc45366 into main Jan 12, 2025
6 checks passed
@nanxstats nanxstats deleted the shorthand branch January 12, 2025 21:54
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.

Use shorthand syntax for typing
1 participant