Configuration

class succulent.configuration.Configuration(path)

Bases: object

Class for loading configuration settings from a YAML file.

Parameters:

path (str) – The path to the YAML configuration file.

path

The path to the YAML configuration file.

Type:

str

load_config()

Load the configuration settings from the YAML file.

Returns:

The loaded configuration settings as a dictionary.

Return type:

dict

Raises:

FileNotFoundError – The specified file does not exist.