result
Overview
{
success: "Status of processing."
instance: "Name of processed instance or null if no instance were processed."
plugin: "Instance of current plug-in at the time."
duration: "Time in milliseconds taken to process a pair."
error: "Instance of exception thrown (if any)."
records: "List of log messages made."
}Example
import pyblish.util
context = pyblish.util.publish()
for result in context.data["results"]:
print("Success!" if result["success"] else "Failed..")
# All log messages are captured in `records`
for record in result["records"]:
print(record)Full schema
Last updated