Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
76
def
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),
Callers
1
test_parse_model_with_strict_config_disabled
Function · 0.70
Calls
1
ConfigDict
Class · 0.90
Tested by
1
test_parse_model_with_strict_config_disabled
Function · 0.56