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
Added support for TypeVar types. It works like Union under the hood and both constraints and upper bound can be used to specify a variation of types. Similarly to Union it's recommended to place more complex variant types at first place like TypeVar("T", Dict[int, int], List[int]) not TypeVar("T", List[int], Dict[int, int]).
Added support for short version of standard generic types without specifying type of objects kept in containers. Now it's possible to use List instead of List[Any] or Dict instead of Dict[Any, Any].
Improved string representation of builtin and standard generic types. Now in the error messages you will see int instead of builtins.int or List instead of typing.List.