class_docstr: A specification of executor class.
  
  Attributes:
    executor_class: a subclass of base_executor.BaseExecutor used to execute
      this component (required).
    extra_flags: extra flags to be set in the Python base executor.
class_docstr_tok: ["A","specification","of","executor","class",".","Attributes",":","executor_class",":","a","subclass","of","base_executor.BaseExecutor","used","to","execute","this","component","(","required",")",".","extra_flags",":","extra","flags","to","be","set","in","the","Python","base","executor","."]
code: def add_extra_flags(self, extra_flags: Iterable[str]) -> None:
      self.extra_flags.extend(extra_flags)
  
imports: import copy
  from typing import cast, Iterable, List, Optional, Type, Union
  from tfx import types
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.placeholder import placeholder
  from tfx.proto.orchestration import executable_spec_pb2
  from tfx.proto.orchestration import placeholder_pb2
  from tfx.utils import import_utils
  from tfx.utils import json_utils
  from tfx.utils import name_utils
  from google.protobuf import message
label_desc: Use image node_id 7 for calling the ExecutorClassSpec obj's underlying member method code with example usage: obj.add_extra_flags(extra_flags) without return types