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
test.py:4: error: Argument 1 to "get" of "dict" has incompatible type "Union[int, str]"; expected "int"
Arguably, this should be allowed, because get provides a default if the item is not found (unlike __getitem__). But by that logic, potentially any type should be a valid argument to get, which doesn't seem right. @gvanrossum: further thoughts?