.actions

Associate actions with a plug-in.

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