specs: Dict
Define 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") })
Dict
str
ParamSpec
str
ParamSpec
Check if all the config are optional
bool
Build 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
Dict
ConfigParams
Check that the config specs are valid
str
Check 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
Dict
Dict
Dict
str
ParamSpec
str
bool
bool
Check if the config has visible specs
bool
check that all mandatory configs are provided
Dict
bool
Merge two ConfigSpecs objects
ConfigSpecs
ConfigSpecs
str
convert the config specs to json
bool
- True
Dict
convert the config specs to json
bool
- True
Dict
str
ParamSpec
Create a config specs from a dto
Dict
ConfigSpecs
Create a config specs from a json
Dict
ConfigSpecs