tardis.io.config_validator module

tardis.io.config_validator.extend_with_default(validator_class)[source]

Extend a jsonschema.IValidator to also set default values on properties. By default jsonschema ignores default values.

Parameters
validator_class :

The jsonschema.IValidator class to extend

Returns
The extended jsonschema.IValidator
tardis.io.config_validator.validate_dict(config_dict, schemapath='/home/runner/work/tardis/tardis/tardis/io/schemas/base.yml', validator=<class 'jsonschema.validators.create.<locals>.Validator'>)[source]
tardis.io.config_validator.validate_yaml(configpath, schemapath='/home/runner/work/tardis/tardis/tardis/io/schemas/base.yml', validator=<class 'jsonschema.validators.create.<locals>.Validator'>)[source]