.process

InstancePlugin.process

The primary processing mechanism of the Instnace.

Introduction

This method may be overridden in your plug-in subclasses to process the current Instance.

Example

import pyblish.api

class ValidateInstances(pyblish.api.InstancePlugin):
    order = pyblish.api.ValidatorOrder

    def process(self, instance):
        assert instance.data["name"] == "MyInstance"

Last updated