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

Support overriding __setattr__ in Struct types #376

Merged
merged 1 commit into from
Apr 17, 2023
Merged

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Apr 17, 2023

This fixes a bug that previously prevented overriding __setattr__ in msgspec.Struct types.

Fixes #374.

This fixes a bug that previously prevented overriding `__setattr__` in
`msgspec.Struct` types.
@jcrist jcrist merged commit 143b1e3 into main Apr 17, 2023
@jcrist jcrist deleted the inherit-struct-setattr branch April 17, 2023 15:59
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.

__setattr__ of inherited class is not called
1 participant