-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
nb.optional doesn't work with nb.types.NamedTuple #9607
Comments
@ocmob thank you for reporting this. I have updated the reproducer to include the |
The error message is
|
@ocmob looks like I can reproduce this. I am provisionally labelling this as a typing bug until a second maintainer can verify it, thank you for reporting. |
I'd classify this as a feature request to expand support to |
Btw, the problem is happening at unboxing. Numba needs to read into the annotations in |
It seems like
nb.optional
doesn't work withnb.types.NamedTuple
(it does withnb.types.Tuple
, though). Here is the minimum repro:The text was updated successfully, but these errors were encountered: