parselglossy.yaml_utils module#

parselglossy.yaml_utils.read_yaml_file(file_name: Union[str, Path]) Dict[str, Any][source]#

Reads a YAML file and returns it as a dictionary.

Parameters

file_name (Union[str, Path]) – Path object for the YAML file.

Returns

d – A dictionary with the contents of the YAML file.

Return type

JSONDict