.process

ContextPlugin.process

The primary processing mechanism of the Context.

Introduction

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

Example

import pyblish.api

class CollectInstances(pyblish.api.ContextPlugin):
    order = pyblish.api.CollectorOrder

    def process(self, context):
        context.create_instance("MyInstance")

Last updated