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

fixing issue with inhereted defaults #673

Merged
merged 4 commits into from
Jan 14, 2025
Merged

Conversation

slorello89
Copy link
Member

Fixes #669 The meta model doesn't seem to want to properly set the defaults of inherited fields in pydantic, this pulls the defaults out of the model and passes them into the initializer.

Copy link

@bsbodden bsbodden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@slorello89 slorello89 merged commit 758d9c7 into main Jan 14, 2025
10 checks passed
@slorello89 slorello89 deleted the bugfix/inhereted-defaults branch January 14, 2025 18:29
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.

BUG: Default Values in Model Are Incorrectly Set as 'ExpressionProxy' Objects
2 participants