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
fromtypingimportLiteralvalue: strassertvalue=="asdf"# not sure about this because __eq__ can be overriddenassertvalueis"asdf"# but this one should definitely workfoo: Literal["asdf"] =value# error: Incompatible types in assignment (expression has type "str", variable has type "Literal['asdf']")
The text was updated successfully, but these errors were encountered: