Use Pydantic v2 API models; remove support for Pydantic V1#1549
Merged
elliotgunton merged 10 commits intomainfrom Feb 9, 2026
Merged
Use Pydantic v2 API models; remove support for Pydantic V1#1549elliotgunton merged 10 commits intomainfrom
elliotgunton merged 10 commits intomainfrom
Conversation
jeongukjae
reviewed
Jan 25, 2026
Collaborator
jeongukjae
left a comment
There was a problem hiding this comment.
Mainly nit comments. Looks good!
27c715f to
57be54b
Compare
7afe71d to
684a244
Compare
684a244 to
d62c413
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1549 +/- ##
=======================================
- Coverage 81.3% 81.1% -0.2%
=======================================
Files 63 63
Lines 5362 5368 +6
Branches 825 826 +1
=======================================
- Hits 4361 4357 -4
- Misses 852 858 +6
- Partials 149 153 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
* Missed some V1/V2 imports around `io` * Also simplified Annotated import as lowest supported Python version is now 3.10 Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
* Remove Pydantic "email" extra * Remove forward ref types Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
dd464e1 to
c1c4eb5
Compare
4df48f8 to
27ac3c9
Compare
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
27ac3c9 to
678084b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
Description of PR
Currently, the API models are using Pydantic V1. This PR updates the codegen script to create V2 models, and tidies up the code that uses them. It also adds 3.14 to the cicd matrix and removes the Pydantic V1 checks.