class_docstr: A beam.DoFn to read a text file and yield CSV records.
code: def process(self, csv_filepath: str) -> Iterable[str]:
      with beam.io.filesystems.FileSystems.open(csv_filepath) as file:
          # Skip header row.
          _ = file.readline()
  
          buffer = _CsvLineBuffer()
          for line in file:
              buffer.write(line.decode("utf-8"))
              if buffer.is_complete_line():
                  yield buffer.read()
          if not buffer.is_empty():
              raise ValueError(
                  "Csv record had unbalanced quotes. File: {}".format(
                      csv_filepath
                  )
              )
  
imports: import os
  from typing import Any, Dict, Iterable, List
  from absl import logging
  import apache_beam
  import tensorflow
  from tfx.components.example_gen.base_example_gen_executor import BaseExampleGenExecutor
  from tfx.dsl.io import fileio
  from tfx.types import standard_component_specs
  from tfx.utils import io_utils
  from tfx_bsl.coders import csv_decoder
label_desc: Use image node_id 2 for calling the _ReadCsvRecordsFromTextFile obj's underlying member method code with example usage: obj.process(csv_filepath) without return types