API
Search…
PYBLISH_STRICT_DATATYPES
Throw errors when assigning invalid data types.

Usage

When enabled the values in both instance.data and context.data will be validated.
1
data = {
2
"publish": True # Boolean for GUIs to function.
3
}
Copied!

Example

1
import os
2
os.environ["PYBLISH_STRICT_DATATYPES"] = "True"
Copied!
{{ file.mtime }}
Last modified 1yr ago
Copy link
Contents
Usage
Example