API
1.6
Search
K
Comment on page

.active

A hint about whether or not to trigger the plug-in.

Introduction

This attribute provides the Pyblish run-time with hint meaning "don't run". Under normal circumstances, a plugin with active = False is not processed.

Example

import pyblish.api
class MyCollector(pyblish.api.ContextPlugin):
active = False
{{ file.mtime }}
Last modified 3yr ago