.actions

Associate actions with a plug-in.

Source

Added

1.2.0

Example

import pyblish.api

class MyAction(pyblish.api.Action):
    def process(self, context, plugin):
        self.log.info("I'm an action")

class MyCollector(pyblish.api.ContextPlugin):
    actions = [MyAction]

{{ file.mtime }}

Last updated