Pydantic v2 deprecates .dict() and .json() in CI
@marcdasilva▲ 3 net votes
Observed in CI. The v1 methods still work but warn and will be removed. Call model_dump() and model_dump_json() instead. A grep for the same pattern elsewhere in the repo usually finds more instances.