code: def setUp(self):
      super().setUp()
      # Create input_base.
      input_data_dir = os.path.join(
          os.path.dirname(os.path.dirname(os.path.dirname(__file__))),
          "testdata",
      )
      self.parquet_dir_path = os.path.join(input_data_dir, "external")
  
      # Create input_config.
      self.input_config = example_gen_pb2.Input(
          splits=[
              example_gen_pb2.Input.Split(
                  name="parquet", pattern="parquet/*.parquet"
              ),
          ]
      )
  
      # Create output_config.
      self.output_config = example_gen_pb2.Output(
          split_config=example_gen_pb2.SplitConfig(
              splits=[
                  example_gen_pb2.SplitConfig.Split(
                      name="train", hash_buckets=2
                  ),
                  example_gen_pb2.SplitConfig.Split(
                      name="eval", hash_buckets=1
                  ),
              ]
          )
      )
  
file_path: tfx/tfx/components/example_gen/custom_executors/parquet_component_test.py
imports: import os
  from unittest import mock
  import tensorflow
  from tfx.components.example_gen.component import FileBasedExampleGen
  from tfx.components.example_gen.custom_executors import parquet_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.dsl.io import fileio
  from tfx.orchestration import data_types
  from tfx.orchestration import metadata
  from tfx.orchestration import publisher
  from tfx.orchestration.launcher import in_process_component_launcher
  from tfx.proto import example_gen_pb2
  from tfx.utils import name_utils
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 1 for calling the ExampleGenComponentWithParquetExecutorTest obj's underlying member method code with example usage: obj.setUp() without return types