PYBLISH_STRICT_DATATYPES
Usage
data = {
"publish": True # Boolean for GUIs to function.
}Example
import os
os.environ["PYBLISH_STRICT_DATATYPES"] = "True"Last updated
Throw errors when assigning invalid data types.
When enabled the values in both instance.data and context.data will be validated.
data = {
"publish": True # Boolean for GUIs to function.
}import os
os.environ["PYBLISH_STRICT_DATATYPES"] = "True"{{ file.mtime }}
Last updated