We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, thanks for the great lib.
I think that currently Optional[int] is supported but not int | None which should be equivalent.
Optional[int]
int | None
Would it be possible to support it ?
thanks in advance
The text was updated successfully, but these errors were encountered:
Thanks for the bug report! Fixing now. I mostly code in python3.8 syntax (until it reaches EOL), so I didn't notice this issue.
The problem at heart is basically described in python/cpython#105499
Sorry, something went wrong.
Should be fixed in v2.1.1
Thanks for the ultra quick fix ! Just updated to the latest version and it is working.
okay this is really weird problem that Union and | don't have the same behavior, very counterintuitive but good to know 🤔
Union
|
No branches or pull requests
Hey, thanks for the great lib.
I think that currently
Optional[int]
is supported but notint | None
which should be equivalent.Would it be possible to support it ?
thanks in advance
The text was updated successfully, but these errors were encountered: