API
Search…
ValidatorOrder
A validator determines whether or not an instance is valid.
Illustration
1
_______ _____
2
| |
3
input |------ is valid? ----- yes ---->| output
4
_______| | |_____
5
^ |
6
| no
7
| |
8
|_______________|
Copied!

Example

1
import pyblish.api as pyblish
2
3
class MyValidator(pyblish.InstancePlugin):
4
"""Documentation goes here"""
5
6
order = pyblish.ValidatorOrder
7
8
def process(self, instance):
9
self.log.info("something")
Copied!
{{ file.mtime }}
Last modified 1yr ago
Copy link
Contents
Example