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

Issue with Ellipsis in Union typing #111

Closed
anwai98 opened this issue Dec 31, 2024 · 1 comment
Closed

Issue with Ellipsis in Union typing #111

anwai98 opened this issue Dec 31, 2024 · 1 comment

Comments

@anwai98
Copy link
Contributor

anwai98 commented Dec 31, 2024

It seems python<3.11 (tested it on 3.10) does not support Ellipsis as an argument in the Union typing (it seems like it cannot derive the class associated for it).

The easy way out solution is to use either type(Ellipsis) or type(...) (however, I feel these are not so elegant solutions). The other thing could be to ensure that users have python>=3.11 installed via the editable install or via conda-forge as well!

What do you think @constantinpape?

@constantinpape
Copy link
Owner

Fixed in #110

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

2 participants