code: def _testFeatureBasedPartition(self, partition_feature_name):
      self._exec_properties[
          standard_component_specs.OUTPUT_CONFIG_KEY
      ] = proto_utils.proto_to_json(
          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
                      ),
                  ],
                  partition_feature_name=partition_feature_name,
              )
          )
      )
  
imports: import os
  from typing import Any, Dict, Iterable
  import apache_beam
  import pyarrow
  import tensorflow
  from tfx.components.example_gen import base_example_gen_executor
  from tfx.dsl.io import fileio
  from tfx.proto import example_gen_pb2
  from tfx.types import artifact_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import proto_utils
label_desc: Use image node_id 8 for calling the BaseExampleGenExecutorTest obj's underlying member method code with example usage: obj._testFeatureBasedPartition(partition_feature_name) without return types