toml_formatter module
Define several helper functions for proper .toml formatting.
- format_for_toml(key: str, value: Any, preferred_type: type) str
Format the key-value pair so that it matches
tomlstandard.
- _format_list(value: list | ndarray, preferred_type: type) str
Format a list of values, including handling lists of dicts.