Replace deprecated Pydantic .dict() with .model_dump() #76

Open
opened 2026-03-27 04:06:43 +00:00 by cal · 1 comment
Owner

Problem

21 occurrences of .dict() across router files. This is deprecated in Pydantic v2 in favor of .model_dump(). Only one file (sbaplayers.py line 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.

## Problem 21 occurrences of `.dict()` across router files. This is deprecated in Pydantic v2 in favor of `.model_dump()`. Only one file (`sbaplayers.py` line 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.
Claude added the
ai-working
label 2026-03-27 07:01:11 +00:00
Claude added
ai-pr-opened
and removed
ai-working
labels 2026-03-27 07:03:20 +00:00
Collaborator

PR #90 opened: #90

Replaced all 21 remaining .dict() calls with .model_dump() across 17 router files. Direct drop-in replacement — no logic changes.

PR #90 opened: https://git.manticorum.com/cal/major-domo-database/pulls/90 Replaced all 21 remaining `.dict()` calls with `.model_dump()` across 17 router files. Direct drop-in replacement — no logic changes.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/major-domo-database#76
No description provided.