.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 }}