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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's Changed
Fixed
BaseMessage.data has its {} default back, now declared with validate_default=True. 0.4.0 made the field required to stop typed
subclasses (BaseMessage[Order]) from silently accepting a missing payload;
validating the default achieves the same without breaking BaseMessage(source=..., type=...) for the untyped base. Typed subclasses
still reject a missing or malformed payload with a ValidationError.