I really need better generics support before ty becomes useful. Currently decorators just make all return types unknown. I need something this to work:
_F = TypeVar("_F", bound=Callable[..., Any]) def my_decorator(*args: str) -> Callable[[_F], _F]: ...
I really need better generics support before ty becomes useful. Currently decorators just make all return types unknown. I need something this to work:
Also, I use a lot of TypedDicts and there's not much support yet.