Skip to content
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

DM-47646: Move or remove model_config settings #1151

Merged
merged 1 commit into from
Nov 19, 2024
Merged

DM-47646: Move or remove model_config settings #1151

merged 1 commit into from
Nov 19, 2024

Conversation

rra
Copy link
Member

@rra rra commented Nov 19, 2024

Where model_config settings for Pydantic models are needed, move them to the top of the class to make them more obvious. Remove the ones that enable parsing from object attributes in favor of passing that flag directly into model_validate in the storage layer.

Where `model_config` settings for Pydantic models are needed, move
them to the top of the class to make them more obvious. Remove the
ones that enable parsing from object attributes in favor of passing
that flag directly into `model_validate` in the storage layer.
@rra rra enabled auto-merge November 19, 2024 22:14
@rra rra merged commit 10e25d5 into main Nov 19, 2024
5 checks passed
@rra rra deleted the tickets/DM-47646 branch November 19, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant