See https://github.com/pnpnpn/retry-decorator/blob/master/retry_decorator/retry_decorator.py#L34:
when callback_by_exception is defined and in effect, then run_one_last_time is defaulted to False.
- why is it so?
- what's the purpose of
run_one_last_time to begin with? To be able to swallow exceptions by the retry logic?
In any case, run_one_last_time should always default to True.
See https://github.com/pnpnpn/retry-decorator/blob/master/retry_decorator/retry_decorator.py#L34:
when
callback_by_exceptionis defined and in effect, thenrun_one_last_timeis defaulted toFalse.run_one_last_timeto begin with? To be able to swallow exceptions by the retry logic?In any case,
run_one_last_timeshould always default to True.