Coverage for src / taipanstack / utils / retry.py: 100%
2 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-12 21:18 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-12 21:18 +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]