ConfigLoader¶
-
class
dias.ConfigLoader(config_path, limit_task=None)¶ Bases:
objectdias Config loader class.
Imports analyzer modules, loads dias and task config and can check config parameters.
Hint
Config values can be accessed by name, as if this were a dict:
config[name]Assignment is supported:
config[name] = valueas is iteration:
iterator = iter(config).Construct the config loader.
Parameters: - config_path (str) – Full path to YAML config file.
- limit_task (
Taskor None) – If this is not None, only the config of the given task is loaded. Default: None.