skmap.load_config.parse_config#

parse_config(yaml_path)[source]#

Parses a YAML configuration file into a hybrid namespace where only the top-level keys are accessible via dot notation. It resolves self-referential string templates and converts string values of ‘None’ to NoneType.

Return type:

SimpleNamespace

Args:

yaml_path: The path to the input YAML file.

Returns:

A SimpleNamespace object with nested dictionaries.