Skip to content

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
Contributor

@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