You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dt>3.0# works but Pylance complains: Operator ">" not supported for types "DataTree[Unknown]" and "float" PylancereportOperatorIssuedt<3.0# works but Pylance complains: Operator "<" not supported for types "DataTree[Unknown]" and "float" PylancereportOperatorIssuedt<=3.0# works but Pylance complains: Operator "<=" not supported for types "DataTree[Unknown]" and "float" PylancereportOperatorIssuedt>=3.0# works but Pylance complains: Operator ">=" not supported for types "DataTree[Unknown]" and "float" PylancereportOperatorIssuedt==3# Works fine. No Pylance issue.
The text was updated successfully, but these errors were encountered:
Hello,
I encountered the following typing issue: inequality between a datatree instance and a float raises a Pylance issue.
datatree version: 0.0.14
Reproducing the warning
I use the datatree example from the Quick Overview section in the doc (https://xarray-datatree.readthedocs.io/en/latest/quick-overview.html)
Then,
The text was updated successfully, but these errors were encountered: