Skip to content

Improve typing of decorator #4

@pydanny

Description

@pydanny

@leontrolski suggested something on the lines of this"

F = TypeVar("F", bound=Callable[..., Any])

def retry(
    ...
) -> Callable[[F], F]:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions