aiaccel.config.print_config#
- aiaccel.config.print_config(config: ListConfig | DictConfig, line_length: int = 80) None [source]#
Print the given configuration with syntax highlighting.
This function converts pathlib.Path objects to strings before printing, ensuring that the output YAML format remains valid. It also highlights configuration keys in yellow for better readability.
- Parameters:
config (ListConfig | DictConfig) – The configuration to print.
line_length (int, optional) – The width of the separator line (default: 80).