class_docstr: Abstract TFX executor class.
class_docstr_tok: ["Abstract","TFX","executor","class","."]
docstr: Constructs a base executor.
docstr_tok: ["Constructs","a","base","executor","."]
code: def __init__(self, context: Optional[Context] = None):
      """Constructs a base executor."""
      self._context = context
      self._extra_flags = context.extra_flags if context else None
  
file_path: tfx/tfx/dsl/components/base/base_executor.py
imports: import abc
  import os
  from typing import Any, Dict, List, Optional
  from absl import logging
  from tfx import types
  from tfx.dsl.io import fileio
  from tfx.proto.orchestration import execution_result_pb2
  from tfx.proto.orchestration import pipeline_pb2
label_desc: Use image node_id 2 to create a new BaseExecutor object from inherited base classes: abc with example: obj = BaseExecutor(context)