From 3b46a92693ce6648b2a9b0bd7d46e3d59bb8da00 Mon Sep 17 00:00:00 2001 From: Dobromir Marinov Date: Fri, 2 Aug 2024 16:58:52 +0100 Subject: [PATCH] Add the retry strategies to the public API. --- swimos/__init__.py | 4 ++-- swimos/client/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/swimos/__init__.py b/swimos/__init__.py index 15cce3a..7118911 100644 --- a/swimos/__init__.py +++ b/swimos/__init__.py @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from .client import SwimClient, IntervalStrategy +from .client import SwimClient, RetryStrategy, IntervalStrategy, ExponentialStrategy -__all__ = [SwimClient, IntervalStrategy] +__all__ = [SwimClient, RetryStrategy, IntervalStrategy, ExponentialStrategy] diff --git a/swimos/client/__init__.py b/swimos/client/__init__.py index dea0d42..25aac0d 100644 --- a/swimos/client/__init__.py +++ b/swimos/client/__init__.py @@ -13,6 +13,6 @@ # limitations under the License. from ._swim_client import SwimClient -from ._connections import IntervalStrategy +from ._connections import RetryStrategy, IntervalStrategy, ExponentialStrategy -__all__ = [SwimClient, IntervalStrategy] +__all__ = [SwimClient, RetryStrategy, IntervalStrategy, ExponentialStrategy]