code: def text_string_to_metric_families(
      self,
  ) -> t.Generator[Metric, None, None]:
      yield from self.prometheus_client.parser.text_string_to_metric_families(
          self.generate_latest().decode("utf-8")
      )
  
imports: from __future__ import annotations
  import logging
  import os
  import sys
  import typing
  from functools import partial
  from typing import TYPE_CHECKING
label_desc: Use image node_id 10 for calling the PrometheusClient obj's underlying member method code with example usage: obj.text_string_to_metric_families() without return types