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

Class Model

tests/test_construction.py:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10class Model(BaseModel):
11 a: float
12 b: int = 10
13
14
15def test_simple_construct():

Callers 15

test_large_any_strFunction · 0.70
test_simple_copyFunction · 0.70
test_deep_copyFunction · 0.70
test_copy_excludeFunction · 0.70
test_copy_includeFunction · 0.70
test_copy_updateFunction · 0.70
test_copy_set_fieldsFunction · 0.70
test_simple_pickleFunction · 0.70

Calls 2

ConfigDictClass · 0.90
FieldFunction · 0.90

Tested by 15

test_large_any_strFunction · 0.56
test_simple_copyFunction · 0.56
test_deep_copyFunction · 0.56
test_copy_excludeFunction · 0.56
test_copy_includeFunction · 0.56
test_copy_updateFunction · 0.56
test_copy_set_fieldsFunction · 0.56
test_simple_pickleFunction · 0.56