code: def run(
      executable_spec: Union[
          _PythonClassExecutableSpec, _BeamExecutableSpec
      ],
      execution_info: data_types.ExecutionInfo,
      mlmd_connection_config: Optional[
          metadata.ConnectionConfigType
      ] = None,
  ) -> None:
      """Run Python executable."""
      logging.info("Executing Python custom component")
      run_python_custom_component(
          executable_spec, execution_info, mlmd_connection_config
      )
  
file_path: tfx/tfx/orchestration/python_execution_binary/python_execution_lib.py
imports: from typing import Optional, Union
  from absl import logging
  from tfx.dsl.io import fileio
  from tfx.orchestration import metadata
  from tfx.orchestration.portable import data_types
  from tfx.orchestration.portable import python_driver_operator
  from tfx.proto.orchestration import driver_output_pb2
  from tfx.proto.orchestration import executable_spec_pb2
  from tfx.orchestration.python_execution_binary import python_executor_operator_dispatcher
label_desc: Use image node_id 3 for calling a global function with example usage: run(executable_spec, execution_info, mlmd_connection_config) without return types