top | item 46301370 (no title) CyberThijs | 2 months ago For those interested: the results page in this PR looks like this:https://htmlpreview.github.io/?https://github.com/SimonSchic... discuss order hn newest collinmanderson|2 months ago Thanks.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]: ... Also, I use a lot of TypedDicts and there's not much support yet.
collinmanderson|2 months ago Thanks.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]: ... Also, I use a lot of TypedDicts and there's not much support yet.
collinmanderson|2 months ago
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.