From 832973506c258d956e4d5244167a2921a56b7082 Mon Sep 17 00:00:00 2001 From: SalvatoreZagaria Date: Sat, 28 Sep 2024 14:51:15 +0100 Subject: [PATCH] Add configurable retry parameters and unit tests Introduced the `DictConfig` class to manage default retry parameters in a singleton dictionary. Refactored initialization methods, adding a new `get` method for better configuration access. Included a new test class `TestRetryDefaults` to verify `dict_config` functionalities. --- ...gurable-retry-parameters-fe5068cf1395887d.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 releasenotes/notes/add-configurable-retry-parameters-fe5068cf1395887d.yaml diff --git a/releasenotes/notes/add-configurable-retry-parameters-fe5068cf1395887d.yaml b/releasenotes/notes/add-configurable-retry-parameters-fe5068cf1395887d.yaml new file mode 100644 index 0000000..096be78 --- /dev/null +++ b/releasenotes/notes/add-configurable-retry-parameters-fe5068cf1395887d.yaml @@ -0,0 +1,15 @@ +--- +prelude: > + This release introduces configurable retry parameters with the + DictConfig class and adds comprehensive unit tests for default + configurations. +features: + - Added `DictConfig` class to manage default retry parameters + - in a singleton dictionary. (Commit 622bea5) +improvements: + - Refactored the initialization method by removing redundant + - attribute checks and adding a new `get` method for better + - configuration access. (Commit 25efec0) +issues: + - Included a new test class `TestRetryDefaults` to verify + - `dict_config` functionalities within tenacity. (Commit 58b9993)