def read_collection_from_yaml(desired_type: Type[Any], file_object: TextIOBase, logger: Logger,<EOL>conversion_finder: ConversionFinder, fix_imports: bool = True, errors: str = '<STR_LIT:strict>',<EOL>**kwargs) -> Any:
res = yaml.load(file_object)<EOL>return ConversionFinder.convert_collection_values_according_to_pep(res, desired_type, conversion_finder, logger,<EOL>**kwargs)<EOL>
Parses a collection from a yaml file.

:param desired_type:
:param file_object:
:param logger:
:param fix_imports:
:param errors:
:param args:
:param kwargs:
:return: