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

Change typing: Optional or Union -> | #71

Open
patrikspiess opened this issue Mar 31, 2023 · 0 comments
Open

Change typing: Optional or Union -> | #71

patrikspiess opened this issue Mar 31, 2023 · 0 comments
Labels
deferred Issue wil be reevaluated later

Comments

@patrikspiess
Copy link
Member

patrikspiess commented Mar 31, 2023

Changed in Python version 3.10: Optional can now be written as X | None. See union type expressions.
Also Union can use | instead.

But this would mean we will end support for Python 3.8 and 3.9

@patrikspiess patrikspiess added question Further information is requested deferred Issue wil be reevaluated later and removed question Further information is requested labels Mar 31, 2023
@patrikspiess patrikspiess changed the title Change typing: Optional -> | Change typing: Optional or Union -> | Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deferred Issue wil be reevaluated later
Projects
None yet
Development

No branches or pull requests

1 participant