TomlLoader

class cosipy.utilities.config_utils.TomlLoader[source]

Bases: object

Load and parse configuration files.

Methods

__init__()

get_raw_toml([file_path])

Open and load .toml configuration file.

static get_raw_toml(file_path='./utilities_config.toml')[source]

Open and load .toml configuration file.

Parameters:

file_path (str) – Relative path to .toml configuration file.

Returns:

Loaded .toml data.

Return type:

dict