ConfigLoader

class dias.ConfigLoader(config_path, limit_task=None)

Bases: object

dias 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] = value

as is iteration: iterator = iter(config).

Construct the config loader.

Parameters:
  • config_path (str) – Full path to YAML config file.
  • limit_task (Task or None) – If this is not None, only the config of the given task is loaded. Default: None.