Learning Roadmap¶
Ten minutes from install to production policies.
- Install —
pip install pico-resilience; nothing to wire (Getting Started). - First retry — add
@retryable(max_attempts=3)to a flaky call; watch the WARNING logs per attempt. - Protect a dependency —
@circuit_breakeron the partner API call; understand closed → open → half-open. - Bound the tail —
@timeout(2.0)on async lookups; learn why sync is rejected (FAQ). - Combine —
@retryableon top; see the chain rule in Architecture. - Test —
resilience.enabled: falsein test config; assert your own logic, not the policies.