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
[(1, 2), (1, None)] is list[tuple[int, int] | tuple[int, None]], and can not pass it into func.
Argument of type "list[tuple[Literal[1], Literal[2]] | tuple[Literal[1], None]]" cannot be assigned to parameter "params" of type "list[tuple[*Ts@func]]" in function "func"
"None" is not assignable to "Literal[2]"
PylancereportArgumentType
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
pyright palyground
[(1, 2), (1, None)]islist[tuple[int, int] | tuple[int, None]], and can not pass it into func.Beta Was this translation helpful? Give feedback.
All reactions