def _write_fetcher(self, specification, specification_set):
destination = "<STR_LIT>" % (self.output_directory, self.fetchers_path)<EOL>base_name = "<STR_LIT>" % specification.entity_name_plural<EOL>filename = "<STR_LIT>" % (self._class_prefix, base_name)<EOL>override_content = self._extract_override_content(base_name)<EOL>self.write(destination=destination,<EOL>filename=filename,<EOL>template_name="<STR_LIT>",<EOL>specification=specification,<EOL>specification_set=specification_set,<EOL>class_prefix=self._class_prefix,<EOL>product_accronym=self._product_accronym,<EOL>override_content=override_content,<EOL>header=self.header_content,<EOL>name=self._name,<EOL>version_string=self._api_version_string,<EOL>package_name=self._package_name)<EOL>return (filename, specification.entity_name_plural)<EOL>
Write fetcher