About Anaconda Help Download Anaconda

main / packages / marshmallow-oneofschema 3.2.0

Marshmallow library extension that allows schema (de)multiplexing

Installers

  • linux-s390x v3.0.1
  • linux-64 v3.2.0
  • osx-arm64 v3.2.0
  • linux-aarch64 v3.2.0
  • osx-64 v3.2.0
  • win-64 v3.2.0
  • linux-ppc64le v3.0.1

conda install

To install this package run one of the following:
conda install main::marshmallow-oneofschema

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.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.0) Legal | Privacy Policy