class_docstr: Responsible for launching a stub executor.
  
  A stub component launcher class inheriting BaseStubComponentLauncher can be
  supported by the pipeline. This class should be defined in a separate python
  module because the class is pickled by module path in beam and imported by
  module path in KFP.
  The executor will be launched in the same process of the rest of the
  component, i.e. its driver and publisher.
docstr: Execute underlying component implementation.
code: def _run_executor(
      self,
      execution_id: int,
      input_dict: Dict[str, List[types.Artifact]],
      output_dict: Dict[str, List[types.Artifact]],
      exec_properties: Dict[str, Any],
  ) -> None:
      """Execute underlying component implementation."""
      component_id = self._component_info.component_id
      if component_id in self.test_component_ids:
          super()._run_executor(
              execution_id, input_dict, output_dict, exec_properties
          )
      else:
          executor_context = base_executor.BaseExecutor.Context(
              extra_flags=self._beam_pipeline_args,
              tmp_dir=os.path.join(
                  self._pipeline_info.pipeline_root, ".temp", ""
              ),
              unique_id=str(execution_id),
          )
          executor = base_stub_executor.BaseStubExecutor(
              component_id, self.test_data_dir, executor_context
          )
          executor.Do(input_dict, output_dict, exec_properties)
  
file_path: tfx/tfx/experimental/pipeline_testing/base_stub_component_launcher.py
imports: import os
  from typing import Any, Dict, List
  from tfx import types
  from tfx.dsl.components.base import base_executor
  from tfx.experimental.pipeline_testing import base_stub_executor
  from tfx.orchestration.launcher import in_process_component_launcher
label_desc: Use image node_id 2 for calling the BaseStubComponentLauncher obj's underlying member method code with example usage: obj._run_executor(execution_id, input_dict, output_dict, exec_properties) without return types