def METHOD_NAME(self, file_type: str) -> FileTypeParser:
    try:
        return self._parsers[file_type]
    except KeyError:
        raise UndefinedParserError(FileBasedSourceError.UNDEFINED_PARSER, stream=self.name, file_type=file_type)