From Dev.to
The Pydantic v1 to v2 cheat sheet (and the trap the deprecation warnings hide)
Pydantic v2 rewrote the core in Rust and renamed a lot of the public API. Most projects hit the same handful of changes first. - user.dict() + user.model_dump() - user.json() + user.model_dump_json()...
