parse_toml
Returns a dict of config keys to values.
It reads configs from toml file and returns None if the file is not a toml file.
def parse_toml(
config_file: string
) - > dict[str, Any] | None
Returns a dict of config keys to values. It reads configs from toml file and returns None if the file is not a toml file.
Parameters
| Name | Type | Description |
|---|---|---|
| config_file | string | The file path to the TOML configuration file to be parsed. |
Returns
| Type | Description |
|---|---|
| `dict[str, Any] | None` |