jd / jd/tenacity

[FEATURE REQUEST] retry_unless_exception_cause_type

Open
#625 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.8k
Forks
359
Avg merge
1m
Merged PRs (30d)
1

Description

`retry_if_exception_cause_type` is an useful `retry_base` class but the inverted variant is missing.
It would be nice to have a `retry_base` class that retries if the exception is anything other than the specified exception(s).

An alternative is to implement an `__invert_` overload on `retry_base` but not sure how viable that is.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.