maui.files_metadata.get_format_config

maui.files_metadata.get_format_config(format_name, format_file_path)[source]

Retrieve configuration for a specific format from a YAML file.

Parameters:
format_namestr

Name of the format to retrieve configuration for.

format_file_pathstr

Path to the YAML file containing format configurations.

Returns:
dict

A dictionary containing configuration information for the specified format.

Raises:
ValueError

If the provided YAML file is not properly formatted or if the specified format is not found.