-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Upgrade to Pydantic V2 #3134
Merged
michael-genson
merged 34 commits into
mealie-recipes:mealie-next
from
michael-genson:feat/upgrade-pydantic-v2
Feb 11, 2024
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a7d7932
bumped pydantic
michael-genson f77c674
ran bump-pydantic to auto-update models
michael-genson aa44756
fixed most deprecated model methods
michael-genson c28ec77
added pydantic base settings
michael-genson fcc4f32
partially fixed validators
michael-genson 94b2d9b
fix always=True
michael-genson 0150ef5
removed allow_reuse flags
michael-genson d2bc957
fixed missing type annotations
michael-genson f4d7139
ported old is_classvar from v1
michael-genson 91a61a3
replace from_orm with model_validate
michael-genson bef518c
fixed default Nones and removed some getter dicts
michael-genson 00bac88
potential fix for extras getterdict
michael-genson ef3e28c
small fixes
michael-genson 41994b2
fix for extras
michael-genson bfe1bba
fixed group/group.name conversion
michael-genson 6fa71ff
relax pydantic settings
michael-genson 2ee5700
fixed broken postgres url
michael-genson 79ce9d0
model fix
michael-genson 37060ea
possible fix for auto_init
michael-genson bc0785a
ruff fixes
michael-genson ac44559
fixed deprecated .json
michael-genson c084ae8
probably actually fixed auto_init
michael-genson 818fcc3
fixed bad enum serialization
michael-genson cea765c
pretty sure pydantic used to do this for us
michael-genson f8fed04
fixed cookbook slug vs id check
michael-genson 0803ca2
restored old parse_date functionality from pydantic v1
michael-genson b3ee25f
fix exception serialization
michael-genson d9013c8
fixed deprecated copy params
michael-genson 9ae3f85
Merge remote-tracking branch 'upstream/mealie-next' into feat/upgrade…
michael-genson 118c310
fix for missing event message
michael-genson 0fe4fdd
fix old types
michael-genson aa2426b
more ruff fixes
michael-genson 62015ae
Merge branch 'mealie-next' into feat/upgrade-pydantic-v2
michael-genson eb19784
Merge remote-tracking branch 'upstream/mealie-next' into feat/upgrade…
michael-genson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PostgresDsn changes, pretty sure this is right