Configuration

Configuration utilities for crm_gen.

Provides functions for loading and managing TOML configuration files.

get_default_config_path() Path

Get the path to the default configuration file.

Returns:

Absolute path to the default_config.toml file.

Return type:

Path

load_config(config_path: str) Dict[str, Any]

Load pipeline configuration from a TOML file.

Parameters:

config_path (str) – Path to the TOML configuration file.

Returns:

Nested dictionary with configuration sections.

Return type:

Dict[str, Any]

get_default_config() Dict[str, Any]

Load the default configuration.

Returns:

Default configuration dictionary.

Return type:

Dict[str, Any]