Closed
Description
Hello,
When using decorators, we often know that the function that will be decorated should take param x and y, but we don't care about the rest of the parameters. Is there currently a way to do this ?
Something like Callable[[str,...], Any]
would be perfect. It would work for f(x: str)
but also for f(x: str, y: int)
and f(x: str, *args, **kwargs)