def text_string_to_metric_families(text):
for metric_family in text_fd_to_metric_families(StringIO.StringIO(text)):<EOL><INDENT>yield metric_family<EOL><DEDENT>
Parse Prometheus text format from a unicode string.

    See text_fd_to_metric_families.