Coverage for src/taipanstack/utils/retry.py: 100%
2 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-07-06 15:01 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-07-06 15:01 +0000
1"""Backward-compatibility shim for the retry module.
3This module re-exports all public symbols from the canonical
4``taipanstack.resilience.retry`` module. Importing from this path remains
5supported for compatibility, but new code should use the canonical module.
7.. deprecated::
8 Import from ``taipanstack.resilience.retry`` instead.
9"""
11from taipanstack.resilience.retry import (
12 Retrier,
13 RetryConfig,
14 RetryDecorator,
15 RetryError,
16 calculate_delay,
17 retry,
18 retry_on_exception,
19)
21__all__ = [
22 "Retrier",
23 "RetryConfig",
24 "RetryDecorator",
25 "RetryError",
26 "calculate_delay",
27 "retry",
28 "retry_on_exception",
29]