Start here
The safe first move
Treat Config.fields as manual review. It was removed in Pydantic v2, so the migration depends on what behavior the model actually needs.
Stop before automation when: Choosing the right replacement behavior per model. Files that also combine supported and unsupported Config keys.
Target shape
# manual review required
# Config.fields was removed in Pydantic v2