ecpi.common.params.tools_check Module¶
Created on ?
@author: Colley Jean-Marc, APC/IN2P3/CNRS
Functions¶
cfgparser_to_dict4json(cfg, section) |
a mettre dans common tools pour d’autres scripts |
check_add_default_dict(schema, d_pars) |
Check only with json scheme |
check_add_default_file(file_schema, d_pars) |
Open json schema and check if dictionary d_pars is compliant with it |
extend_with_default(validator_class) |
a mettre dans common tools pour d’autres scripts |
validate(instance, schema[, cls]) |
Validate an instance under the given schema. |