API
Search…
IntegratorOrder
A integrator integrates instances with a pipeline.

Example

1
import pyblish.api as pyblish
2
3
class MyIntegrator(pyblish.InstancePlugin):
4
"""Integrate to disk"""
5
6
order = pyblish.IntegratorOrder
7
8
def process(self, instance):
9
import shutil
10
shutil.copytree(
11
src=instance.data["sourceDir"],
12
dst="/server/{name}/{fname}".format(
13
**instance.data)
14
)
Copied!
{{ file.mtime }}
Last modified 1yr ago
Copy link
Contents
Example