muteria.configmanager.helper module

Note: The raw configuration is a configuration that has the exact same representation as in the file but loaded in memory as a dict. (Example: module given in file still have the filename or function

given as string to be evaluated are also still string).

But the final conf has everything loaded and ready to use

class muteria.configmanager.helper.ConfigurationHelper[source]

Bases: object

classmethod get_extend_file_raw_conf(raw_conf_file, language)[source]

Take a raw conf file that might not have all the parameters and load, then add the missing with default value into a new returned raw conf

classmethod get_extend_raw_conf(raw_conf, language)[source]

Take a raw conf that might not have all the parameters and add the missing with default value into a new returned raw conf

classmethod get_finalconf_from_rawconf(raw_conf)[source]

Transform a raw conf into final conf TODO: Verify config consistency