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.

data = {
  "publish": True  # Boolean for GUIs to function.
}




Example

import os
os.environ["PYBLISH_STRICT_DATATYPES"] = "True"
Fri Sep 07 2018 07:46:00 GMT+0000 (UTC)

results matching ""

    No results matching ""