MCPcopy
hub / github.com/pydantic/pydantic / Model

Class Model

tests/test_strict.py:77–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76def test_parse_model_with_strict_config_disabled(ModelWithStrictConfig: type[BaseModel]) -> None:
77 class Model(ModelWithStrictConfig):
78 model_config = ConfigDict(strict=False)
79
80 values = [
81 Model(a='1', b=2, c=3, d=4),

Calls 1

ConfigDictClass · 0.90