ValidatorOrder
A validator determines whether or not an instance is valid.
Illustration
_______ _____
| |
input |------ is valid? ----- yes ---->| output
_______| | |_____
^ |
| no
| |
|_______________|Example
import pyblish.api as pyblish
class MyValidator(pyblish.InstancePlugin):
"""Documentation goes here"""
order = pyblish.ValidatorOrder
def process(self, instance):
self.log.info("something"){{ file.mtime }}
Last updated
Was this helpful?