API
Search…
.actions
Associate actions with a plug-in.
Source
Added
Link
1.2.0

Example

1
import pyblish.api
2
3
class MyAction(pyblish.api.Action):
4
def process(self, context, plugin):
5
self.log.info("I'm an action")
6
7
class MyCollector(pyblish.api.ContextPlugin):
8
actions = [MyAction]
Copied!
{{ file.mtime }}
Last modified 2yr ago
Copy link
Contents
Example