rez.utils.schema#
Utilities for working with dict-based schemas.
- rez.utils.schema.schema_keys(schema)#
Get the string values of keys in a dict-based schema.
Non-string keys are ignored.
- rez.utils.schema.dict_to_schema(schema_dict, required, allow_custom_keys=True, modifier=None)#
Convert a dict of Schemas into a Schema.
- rez.utils.schema.extensible_schema_dict(schema_dict)#
Create schema dict that allows arbitrary extra keys.
This helps to keep newer configs or package definitions compatible with older rez versions, that may not support newer schema fields.