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
When using pyright to type check the bidict sources, a bunch of type violations are detected. The majority of them are because of the following type alias definition in the _typing.py file:
MISSING: t.Final[MissingT] =MissingT.MISSING
This type alias declares that the type of MISSING is MissingT. The code assumes that its type is Literal[MissingT.MISSING]. You can fix this by changing the above to one of the following:
When using pyright to type check the
bidict
sources, a bunch of type violations are detected. The majority of them are because of the following type alias definition in the_typing.py
file:This type alias declares that the type of
MISSING
isMissingT
. The code assumes that its type isLiteral[MissingT.MISSING]
. You can fix this by changing the above to one of the following:or simply...
The text was updated successfully, but these errors were encountered: