An execution policy for the Pyramid web framework that supports retrying requests after certain failure exceptions. Version 2.1.1 provides integration with Pyramid's tweens to automatically retry failed requests based on configurable policies. It is maintained by the Pylons project and has a stable release cadence.
pip install pyramid-retryVerified import paths — ran on the pinned version, not inferred.
Minimal example configures retries with default policy.
Replace 'retry_max' with 'retry.max_attempts' in your Pyramid settings.
Set 'retry.policies': [RetryablePolicy()] rather than just 'retry.policies': RetryablePolicy().
Use config.add_tween('pyramid_retry.retry_tween_factory', under='pyramid_tm.tm_tween_factory') if pyramid_tm is active.No dependency data recorded yet.