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
Diagnostics:
1. Argument of type "Literal['openai']" cannot be assigned to parameter "default_value" of type "Sentinel" in function "__init__"
"Literal['openai']" is incompatible with "Sentinel" [reportGeneralTypeIssues]
pyright report
traitlets/traitlets/traitlets.py
Lines 479 to 497 in 05d6ecb
traitlets/traitlets/traitlets.py
Lines 135 to 141 in 05d6ecb
Obviously, the argument of
TraitType.__init__
,default_vaue
is infered toSentinel
, what can I do to suppress the diagnostic?The text was updated successfully, but these errors were encountered: