Hypothesis
Hypothesisは、property-based testingのPythonライブラリです。
Hypothesisは、型注釈付きクラスの構築方法を推測することができ、デフォルトでtyping
およびtyping_extensions
モジュールからの組み込み型、多くの標準ライブラリ型、および総称型をサポートしています。
Pydantic v2.0は、Hypothesisの組み込みサポートを廃止し、統合されたHypothesisプラグインは廃止しました。
Warning
We are temporarily removing the Hypothesis plugin in favor of studying a different mechanism. For more information, see the issue annotated-types/annotated-types#37. 別のメカニズムを研究するために、プラグインを一時的に削除しています。詳細については、問題annotated-types/annotated-types#37を参照してください。
Hypothesisプラグインは将来のリリースで復活する可能性があります。更新については、pydantic/pydantic#4682を購読してください。