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
{{ message }}
Repository navigation
Support overloading with TypedDict arguments #3609
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
Activity
Support overloading with TypedDict
Support overloading with TypedDict (#3612)