opentimelineio.versioning¶
Tools for fetching the family->label->schema:version maps
- opentimelineio.versioning.fetch_map(family, label)¶
Fetch the version map for the given family and label. OpenTimelineIO includes a built in family called “OTIO_CORE”, this is compiled into the C++ core and represents the core interchange schemas of OpenTimelineIO.
Users may define more family/label/schema:version mappings by way of the version manifest plugins.
Returns a dictionary mapping Schema name to schema version, like:
{ "Clip": 2, "Timeline": 1, ... }
- opentimelineio.versioning.full_map()¶
Return the full map of schema version sets, including core and plugins. Organized as follows:
{ "FAMILY_NAME": { "LABEL": { "SchemaName": schemaversion, "Clip": 2, "Timeline": 3, ... } } }
The “OTIO_CORE” family is always provided and represents the built in schemas defined in the C++ core. IE:
{ "OTIO_CORE": { "0.15.0": { "Clip": 2, ... } } }