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

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