Skip to content

Add default fallback for wait_from_header and wait_retry_after #17

@austind

Description

@austind

Currently, the fallpack param for these classes is None. This will raise an exception in several common cases. In most cases it's more sensible to include a sensible fallback, like tenacity.wait_exponential(), instead of raise an exception. If the user doesn't like this behavior, they can pass fallback=None.

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