IntegratorOrder

A integrator integrates instances with a pipeline.




Example

import pyblish.api as pyblish

class MyIntegrator(pyblish.InstancePlugin):
    """Integrate to disk"""

    order = pyblish.IntegratorOrder

    def process(self, instance):
        import shutil
        shutil.copytree(
            src=instance.data["sourceDir"],
            dst="/server/{name}/{fname}".format(
                **instance.data)
        )
Fri Aug 18 2017 08:16:29 GMT+0000 (UTC)

results matching ""

    No results matching ""