csa_config.load_config

csa_config.load_config(config_path)[source]

Read a JSON configuration file and return an ExtractionConfig instance.

Parameters:

config_path (Union[str, Path]) – Path to the JSON configuration file.

Returns:

Dataclass instance loaded from the “extraction” section.

Return type:

ExtractionConfig

Raises: