chore(typing): Ignore another EagerDataFrame intermittent [False Negative]#3142
chore(typing): Ignore another EagerDataFrame intermittent [False Negative]#3142MarcoGorelli merged 3 commits intomainfrom
EagerDataFrame intermittent [False Negative]#3142Conversation
|
Out of curiosity, do you know why this is the case? |
Maybe related to https://discuss.python.org/t/unsoundness-of-contravariant-self-type/86338 But I guess to zoom in on it a bit more ... I think the issue is My intention for the typing is to say:
This is problematic because here that type is contravariant: narwhals/narwhals/_compliant/dataframe.py Line 148 in 76dbde2 But here that type is invariant: narwhals/narwhals/_compliant/dataframe.py Line 324 in 76dbde2 ... and then in narwhals/narwhals/_compliant/expr.py Lines 213 to 226 in 76dbde2 |
What type of PR is this? (check all applicable)
Related issues
Compliant*APIs #3045Checklist
If you have comments or can explain your changes, please do so below
Been seeing this locally for a few days, but never in CI