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

Cannot validate union types in 3.10+ style #9

Closed
sg495 opened this issue Jan 7, 2024 · 0 comments
Closed

Cannot validate union types in 3.10+ style #9

sg495 opened this issue Jan 7, 2024 · 0 comments

Comments

@sg495
Copy link
Contributor

sg495 commented Jan 7, 2024

# Python 3.10+
>>> from typing_validation import *
>>> can_validate(int|str)
The following type cannot be validated against:
UnsupportedType[
    int | str
]
@sg495 sg495 closed this as completed in 9cfdaa3 Jan 7, 2024
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

No branches or pull requests

1 participant