Union fields for marshmallow.
Project description
Union fields for marshmallow.
Free software: MIT license
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.
Documentation
https://python-marshmallow-union.readthedocs.io/
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for marshmallow_union-0.1.14-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55497f3444feefc36aac3182d135eef36c45b951d4d9131615ba3a90cef2892 |
|
MD5 | f13911d915a49c2d5c0e014545bc1b08 |
|
BLAKE2b-256 | c67e427ec930a7df6ad68cbeea3122547a92ef42292a744a6d360d2a6eeefa73 |