Skip to content

collect_workfile

CollectWorkfile

Bases: InstancePlugin

Collect additional metadata for workfile instance.

Source code in client/ayon_resolve/plugins/publish/collect_workfile.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
class CollectWorkfile(pyblish.api.InstancePlugin):
    """Collect additional metadata for workfile instance."""

    label = "Collect Workfile"
    order = pyblish.api.CollectorOrder - 0.49
    hosts = ["resolve"]
    families = ["workfile"]

    def process(self, instance):
        # Mark instance for 'ExtractOTIOFile' in core
        instance.data["families"].append("otio.timeline.workfile")