{ } Raw JSON

bundles / papyri 0.0.10 / papyri / config_loader / load_configuration

function

papyri.config_loader:load_configuration

source: /papyri/config_loader.py :61

Signature

def   load_configuration ( path : str )  →  tuple[str, MutableMapping[str, Any], dict[str, Any]]

Summary

Given a path, load a configuration from a File.

Extended Summary

Each configuration file should have two sections: ['global', 'meta'] where the name of the module should be defined under the 'global' section. Additionally, a section for expected errors can be defined.

Aliases

  • papyri.config_loader.load_configuration