fileloader#

class JSONLoader(filename, parent_paths_stack, use_fast_loader)[source]#

Bases: Loader

load()[source]#
class Loader(filename, parent_path_stack)[source]#

Bases: object

expand(obj)[source]#
expand_dict(d)[source]#
expand_list(l)[source]#
load()[source]#
class PyAMLConfigCyclingException(error_filename, path_stack)[source]#

Bases: PyAMLException

class SafeLineLoader(stream)[source]#

Bases: SafeLoader

Initialize the scanner.

construct_mapping(node, deep=False)[source]#
class YAMLLoader(filename, parent_paths_stack, use_fast_loader)[source]#

Bases: Loader

load()[source]#
get_path(p)[source]#

Return unchanged input path if it is an absolute path, path relative to root folder otherwise.

get_root_folder()[source]#

Get the root path for configuration files.

hasToLoad(value)[source]#
load(filename, paths_stack=None, use_fast_loader=False)[source]#

Load recursively a configuration setup

set_root_folder(path)[source]#

Set the root path for configuration files.