Coverage for src / taipanstack / utils / resilience.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 resilience decorators.
3This module re-exports the public decorators and helper types from the canonical
4``taipanstack.resilience.resilience`` module. Importing from this path remains
5supported for compatibility, but new code should use the canonical module.
7.. deprecated::
8 Import from ``taipanstack.resilience.resilience`` instead.
9"""
11from taipanstack.resilience.resilience import (
12 AsyncResultFunc,
13 FallbackDecorator,
14 ResultFunc,
15 TimeoutDecorator,
16 fallback,
17 timeout,
18)
20__all__ = [
21 "AsyncResultFunc",
22 "FallbackDecorator",
23 "ResultFunc",
24 "TimeoutDecorator",
25 "fallback",
26 "timeout",
27]