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
Overloading isn't properly supported with TypedDict. Example:
fromtypingimportoverload, Iterablefrommypy_extensionsimportTypedDictA=TypedDict('A', {'x': int})
@overloaddeff(x: Iterable[str]) ->None: ...
@overloaddeff(x: int) ->None: ...
deff(x): passa: Af(a) # No overload variant matches <--- Should be fine due to Mapping fallback
The text was updated successfully, but these errors were encountered:
Overloading isn't properly supported with TypedDict. Example:
The text was updated successfully, but these errors were encountered: