ConfigSpecs
specs: DictDefine the spec of a task or a view Example: ConfigSpecs({ "param1": IntParam(human_name="Param 1", default_value=1), "param2": StrParam(human_name="Param 2", default_value="Hello") })
DictstrParamSpecstrParamSpecCheck if all the config are optional
boolBuild the ConfigParams from the param_specs and param_values. ConfigParam is supposed to be used directly not stored. Check the param_values with params_specs and return ConfigParams if ok. ConfigParams contains all value and default value if not provided
DictConfigParamsCheck that the config specs are valid
strCheck and validate all values based on spec Returns all the parameters including default value if not provided
raises MissingConfigsException: If one or more mandatory params where not provided it raises a MissingConfigsException
DictDictDictstrParamSpecstrboolboolCheck if the config has visible specs
boolcheck that all mandatory configs are provided
DictboolMerge two ConfigSpecs objects
ConfigSpecsConfigSpecsstrconvert the config specs to json
bool - TrueDictconvert the config specs to json
bool - TrueDictstrParamSpecCreate a config specs from a dto
DictConfigSpecsCreate a config specs from a json
DictConfigSpecs