xoa.cf.CFSpecs.load_cfg

CFSpecs.load_cfg(cfg=None, cache=None)[source]

Load a single or a list of configurations

Parameters:
  • cfg (ConfigObj init or list) –

    Single or a list of either:

    • config file name,

    • multiline config string or a list of lines,

    • config dict,

    • tuple of the previous.

  • cache (bool, None) – In in-memory cache system? Defaults to option boolean cf.cache.