code: def parse_metric_family(self, response, scraper_config):
          
          input_gen = response.iter_lines(chunk_size=self.REQUESTS_CHUNK_SIZE, decode_unicode=True)
          if scraper_config['_text_filter_blacklist']:
              input_gen = self._text_filter_input(input_gen, scraper_config)
  
          for metric in text_fd_to_metric_families(input_gen):
              metric.type = scraper_config['type_overrides'].get(metric.name, metric.type)
              if metric.type not in self.METRIC_TYPES:
                  continue
              metric.name = self._remove_metric_prefix(metric.name, scraper_config)
              yield metric
docs: Parse the MetricFamily from a valid requests.Response object to provide a MetricFamily object (see [0])
          The text format uses iter_lines() generator.
          :param response: requests.Response
          :return: core.Metric