Resilient-caller

Latest version: v0.2.2

Safety actively analyzes 624093 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.2

Fixed
- Fixed a typo in `send_tls_request` that caused the `proxy` parameter to be wrongly passed.

Added
- You can now pass as `exceptions` to the decorator `{"raise": True}` to raise for exceptions instead of handling them.

0.2.1

Fixed
- Huge typo error

0.2.0

Added
- Added an optional maximum elapsed time for retries.
- Support for custom backoff strategy for the delay between retries.
- Added `resilient_call` alias for `resilient_call`

Changed
- Renamed `conditions` and `conditions_criteria` to `conditions` and `conditions_criteria` for better clarity.
- Updated the wrapper to support both asynchronous and non-asynchronous functions.
- If 2 arguments are passed to the action, the number of tries will be passed as well.

0.1.1

Changed
- Introduced the ability to use `RETRY_EVENT` directly as an exception or conditions value, eliminating the need to create a separate function for this purpose.
- Updated existing usage examples to showcase this new functionality and to align with the latest improvements.
- Added a new example (Example 7) to further demonstrate the flexibility and power of the Resilient Caller module.

0.1.0

Added
- Initial release of the Resilient Caller project.
- Comprehensive documentation, including usage examples and explanations.
- First version of the Resilient Caller module, implementing the `send_requests` functionality.
- A variety of example use cases to demonstrate the module's capabilities.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.