Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydantic/pydantic
/ new_copy_method
Function
new_copy_method
tests/test_construction.py:136–137 ·
view source on GitHub ↗
(m, *, update=None, deep=False)
Source
from the content-addressed store, hash-verified
134
else
:
135
136
def
new_copy_method(m, *, update=None, deep=False):
137
return
m.model_copy(update=update, deep=deep)
138
139
return
new_copy_method
140
Callers
nothing calls this directly
Calls
1
model_copy
Method · 0.80
Tested by
no test coverage detected