Bouchafa Lotfi Rafik

Results 5 comments of Bouchafa Lotfi Rafik

I think this can be achieved using the '`after`' callback passed to retrying object. ```python from tenacity import retry, stop_after_attempt, RetryCallState, Future import random outcomes: list[Future] = [] def save_attempt_outcome(outcomes:...

Hi @yxtay , in the case` min > initial * exp` , the result will be wrong (not equivalent to the original formula). example : `min == 100; max ==...

This comment ["# NOTE(sileht): can't really happen, but we must please mypy"](https://github.com/jd/tenacity/blob/0d40e76f7d06d631fb127e1ec58c8bd776e70d49/tenacity/before.py#L38) is outdated. retry_state.fn can be None in the case of using retry inside context manager. its the expected...

duplicates #486

as @guillermobox explained , `retry_with` is a callable attribute of the decorated function `decorated_function.retry_with()` this is not a bug