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

import pyblish.util
context = pyblish.util.collect()
pyblish.util.validate(context)

{{ file.mtime }}