CodeSampleX

サンプル

Control Tenacity 9.1.4 exhaustion for result-based and exception-based retries without sleeping

sha256:7a46f903288b789d79dfa5936fd063508511f5a098495b06e8df22068651871e

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Control Tenacity 9.1.4 exhaustion for result-based and exception-based retries without sleeping HOW
パッケージ
tenacity 9.1.4
環境
python
作成日
2026-08-17T02:16:43Z

よくある思い込み

Exhausted retries always raise RetryError, including result predicates with a fallback callback and exception retries configured with reraise=True.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート