CMD + K

marshmallow-oneofschema

Anaconda Verified

Marshmallow library extension that allows schema (de)multiplexing

Installation

To install this package, run one of the following:

Conda
$conda install main::marshmallow-oneofschema

Usage Tracking

3.2.0
3.0.1
2 / 8 versions selected
Downloads (Last 6 months): 0

Description

This library adds a special kind of schema that actually multiplexes other schemas based on object type. When serializing values, it uses getobjtype() method to get object type name. Then it uses type_schemas name-to-Schema mapping to get schema for that particular object type, serializes object using that schema and adds an extra field with name of object type. Deserialization is reverse.

About

Summary

Marshmallow library extension that allows schema (de)multiplexing

Last Updated

May 9, 2025 at 15:14

License

MIT

Total Downloads

1.1K

Version Downloads

240

Supported Platforms

macOS-arm64
linux-64
linux-aarch64
macOS-64
win-64

Unsupported Platforms

linux-ppc64le Last supported version: 3.0.1
linux-s390x Last supported version: 3.0.1