Warning
Figuring out the correct field type from an untagged dump is a matter of guesswork and can be error-prone. A more explicit approach like https://github.com/Bachmann1234/marshmallow-polyfield/ is better. This project remains here to avoid breaking existing software.
0.1.15 (2020-05-30)¶
Changes¶
Fix #32 : Never ignore the value passed to _serialize. Notably, this fixes the serialization of lists of unions, such as
List(Union([Int(), String()]))
0.1.12 (2019-10-24)¶
Backward-incompatible Changes¶
On serialization,
marshmallow_union.ExceptionGroup
is raised if all candidate fields fail. #24
0.1.11 (2019-06-19)¶
Changes¶
Override the underscore-prefixed methods instead of the plain ones #22
Changelog¶
0.1.10 (2019-06-08)¶
Changes¶
Use Towncrier for changelog. #18
0.1.0 (2019-06-07)¶
First release on PyPI.