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
This would require special-casing .pop() to change the type of the TypedDict to some custom type. Not impossible to do, but it would require significant complexity so it's unlikely we'll add this.
Mypy doesn't respect TypedDict object changes. As an example, the following snippet
Raises the error:
error: "func" gets multiple values for keyword argument "a" [misc]
Formally, it is correctly, but it will be nice if mypy respects object keys changes. Especially in
Unpack
case:The text was updated successfully, but these errors were encountered: