Input and output: cij.io
Input and output handling.
- cij.io.apply_default_config(input_dict)
- Return type
dict
- cij.io.read_config(fname, validate=True)
Reading JSON and YAML configuration.
- Parameters
fname (
Union[str,Path]) – name or path of the configuration file; type of parser used will be determined by the extension of the configuration file (.json,.ymlor.yaml).validate (
bool) – whether the input needs to be validated
- Return type
dict- Returns
the configuration object