Replace deprecated Pydantic .dict() with .model_dump() #76
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-database#76
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
21 occurrences of
.dict()across router files. This is deprecated in Pydantic v2 in favor of.model_dump(). Only one file (sbaplayers.pyline 209) has been updated.Fix
Replace all
.dict()calls with.model_dump()across all router files.Severity
Medium — deprecation warnings now, will break in future Pydantic major version.
PR #90 opened: #90
Replaced all 21 remaining
.dict()calls with.model_dump()across 17 router files. Direct drop-in replacement — no logic changes.