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
example.py:5:1 - error: Type of "distance" is partially unknown
Type of "distance" is "Unit | Unknown | PlainQuantity[Any] | _NotImplementedType" (reportUnknownVariableType)
I am using pyright 1.1.388 on strict mode.
When using 0.24.3, pyright was able to infer the type of distance as _NotImplementedType | Quantity and did not raise any errors.
The text was updated successfully, but these errors were encountered:
After upgrading to
0.24.4
, I get a type error for this example:Code:
Error:
I am using pyright
1.1.388
on strict mode.When using
0.24.3
, pyright was able to infer the type ofdistance
as_NotImplementedType | Quantity
and did not raise any errors.The text was updated successfully, but these errors were encountered: