code: def test_make_tfxio(
      self,
      payload_format,
      expected_tfxio_type,
      raw_record_column_name=None,
      provide_data_view_uri=False,
      read_as_raw_records=False,
  ):
      if payload_format is None:
          payload_format = "FORMAT_TF_EXAMPLE"
      data_view_uri = None
      if provide_data_view_uri:
          data_view_uri = tempfile.mkdtemp(dir=self.get_temp_dir())
          tf_graph_record_decoder.save_decoder(
              _SimpleTfGraphRecordDecoder(), data_view_uri
          )
      tfxio = tfxio_utils.make_tfxio(
          _FAKE_FILE_PATTERN,
          _TELEMETRY_DESCRIPTORS,
          payload_format,
          data_view_uri,
          _SCHEMA,
          read_as_raw_records,
          raw_record_column_name,
      )
      self.assertIsInstance(tfxio, expected_tfxio_type)
      self.assertEqual(
          tfxio.telemetry_descriptors, _TELEMETRY_DESCRIPTORS
      )
      if isinstance(tfxio, record_based_tfxio.RecordBasedTFXIO):
          self.assertEqual(
              tfxio.raw_record_column_name, raw_record_column_name
          )
      # Since we provide a schema, ArrowSchema() should not raise.
      _ = tfxio.ArrowSchema()
  
imports: import inspect
  import tempfile
  from typing import Any, Callable, Dict, Iterator, List
  from absl.testing import parameterized
  import pyarrow
  import tensorflow
  from tfx.components.experimental.data_view import constants
  from tfx.components.util import examples_utils
  from tfx.components.util import tfxio_utils
  from tfx.proto import example_gen_pb2
  from tfx.types import standard_artifacts
  from tfx_bsl.coders import tf_graph_record_decoder
  from tfx_bsl.tfxio import parquet_tfxio
  from tfx_bsl.tfxio import raw_tf_record
  from tfx_bsl.tfxio import record_based_tfxio
  from tfx_bsl.tfxio import record_to_tensor_tfxio
  from tfx_bsl.tfxio import tf_example_record
  from tfx_bsl.tfxio import tf_sequence_example_record
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 1 for calling the TfxioUtilsTest obj's underlying member method code with example usage: obj.test_make_tfxio(payload_format, expected_tfxio_type, raw_record_column_name, provide_data_view_uri, read_as_raw_records) without return types