pypi tenacity 8.3.0

latest releases: 9.0.0, 8.5.0, 8.4.2...
6 months ago

New Features

  • Added a new stop function: stop_before_delay, which will stop execution if the next sleep time would cause overall delay to exceed the specified delay. Useful for use cases where you have some upper bound on retry times that you must not exceed, so returning before that timeout is preferable than returning after that timeout.

Bug Fixes

  • Preserve defaults and kwdefaults through retry decorator

Other Notes

  • Add a "test" extra

Don't miss a new tenacity release

NewReleases is sending notifications on new releases.