You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using msgspec.convert() to convert to a Struct with from_attributes=True, the Struct's __post_init__ is not called. It works as expected with dataclasses.
Description
When using
msgspec.convert()
to convert to a Struct withfrom_attributes=True
, the Struct's__post_init__
is not called. It works as expected with dataclasses.The last one should be:
The text was updated successfully, but these errors were encountered: