Skip to content

⬆️ Bump Pydantic to 2.13.4#1985

Open
YuriiMotov wants to merge 6 commits into
mainfrom
bump-pydantic-2.13
Open

⬆️ Bump Pydantic to 2.13.4#1985
YuriiMotov wants to merge 6 commits into
mainfrom
bump-pydantic-2.13

Conversation

@YuriiMotov
Copy link
Copy Markdown
Member

@YuriiMotov YuriiMotov commented May 27, 2026

Description

Pydantic 2.13 added polymorphic_serialization parameter to model_dump and linting started to fail with Liskov substitution principle violation error.

I added polymorphic_serialization to SQLMOdel's model_dump and added test for it

AI Disclaimer

No AI used

Checklist

  • This PR is an obvious typo fix, or it links to a GitHub Discussion for the proposed code change.
  • I added tests for the change.
  • The new or updated tests fail on the main branch and pass on this PR.
  • Coverage stays at 100%. Note: the Coverage is 99.00% for this project
  • The documentation explains the change if needed.

@YuriiMotov YuriiMotov added dependencies Pull requests that update a dependency file internal python:uv Pull requests that update python:uv code labels May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📝 Docs preview

Last commit e5b9812 at: https://d00d935c.sqlmodel.pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file internal python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants