@leontrolski suggested something on the lines of this" ```python F = TypeVar("F", bound=Callable[..., Any]) def retry( ... ) -> Callable[[F], F]: ```