Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
10
class
Model(BaseModel):
11
a: float
12
b: int = 10
13
14
15
def
test_simple_construct():
Callers
15
test_large_any_str
Function · 0.70
test_simple_copy
Function · 0.70
test_deep_copy
Function · 0.70
test_copy_exclude
Function · 0.70
test_copy_include
Function · 0.70
test_copy_include_exclude
Function · 0.70
test_copy_advanced_exclude
Function · 0.70
test_copy_advanced_include
Function · 0.70
test_copy_advanced_include_exclude
Function · 0.70
test_copy_update
Function · 0.70
test_copy_set_fields
Function · 0.70
test_simple_pickle
Function · 0.70
Calls
2
ConfigDict
Class · 0.90
Field
Function · 0.90
Tested by
15
test_large_any_str
Function · 0.56
test_simple_copy
Function · 0.56
test_deep_copy
Function · 0.56
test_copy_exclude
Function · 0.56
test_copy_include
Function · 0.56
test_copy_include_exclude
Function · 0.56
test_copy_advanced_exclude
Function · 0.56
test_copy_advanced_include
Function · 0.56
test_copy_advanced_include_exclude
Function · 0.56
test_copy_update
Function · 0.56
test_copy_set_fields
Function · 0.56
test_simple_pickle
Function · 0.56