An execution policy for Pyramid that supports retrying requests after certain failure exceptions.
Project description
pyramid_retry is an execution policy for Pyramid that wraps requests and can retry them a configurable number of times under certain “retryable” error conditions before indicating a failure to the client.
See http://docs.pylonsproject.org/projects/pyramid-retry/en/latest/ or docs/index.rst in this distribution for detailed documentation.
0.2 (2017-03-02)
Change the default attempts to 3 instead of 1.
Rename the view predicates to is_last_attempt and is_exc_retryable.
Drop support for the tm.attempts setting.
The retry.attempts setting is always set now in registry.settings['retry.attempts'] so that apps can inspect it.
0.1 (2017-03-01)
Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyramid_retry-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf202f9e1fa340fa29f106d06fdb8fb0deaa7c91750d9b1f79ea8af59d4b368 |
|
MD5 | a9809be6cd1a56855b77dfbf03d3cca1 |
|
BLAKE2b-256 | fdd5b4cb379e4b730436e72ee4016ad5dab60b7da31185f5345e23b0e718c9d9 |