Ask a question to get started
Enter to send•Shift+Enter new line
Copy any Pydantic model, compatible with both v1 and v2.
pydantic_copy( obj: T, **kwargs: Any = {}, ) -> T
obj
T
The Pydantic model to copy.
**kwargs
Any
{}
Additional arguments passed to model_copy/copy.
model_copy
copy