API
Search…
validate
Run validation-only via Python.
Source
Added
Link
1.0.16

Description

This function runs plug-ins of ValidationOrder and then stops. This is useful for getting hold of a validated Context with results.

Argument Signature

Output
Method
Context
validate(context=None, plugins=None)

Example

1
import pyblish.util
2
context = pyblish.util.collect()
3
pyblish.util.validate(context)
Copied!
{{ file.mtime }}
Last modified 1yr ago