Skip to content

Support overriding __setattr__ in Struct types - #376

Merged
jcrist merged 1 commit into
mainfrom
inherit-struct-setattr
Apr 17, 2023
Merged

Support overriding __setattr__ in Struct types#376
jcrist merged 1 commit into
mainfrom
inherit-struct-setattr

Conversation

@jcrist

@jcrist jcrist commented Apr 17, 2023

Copy link
Copy Markdown
Member

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