class_docstr: Base class for a TFX Beam pipeline component.
  
  An instance of a subclass of BaseBaseComponent represents the parameters for a
  single execution of that TFX Beam pipeline component.
  
  Beam based components should subclass BaseBeamComponent instead of
  BaseComponent in order to inherit Beam related SDKs. All subclasses of
  BaseBeamComponent should override the required class level attributes
  specified in BaseComponent.
docstr: Validate that the SPEC_CLASSES property of this class is set properly.
docstr_tok: ["Validate","that","the","SPEC_CLASSES","property","of","this","class","is","set","properly","."]
code: def _validate_component_class(cls):
      """Validate that the SPEC_CLASSES property of this class is set properly."""
      super()._validate_component_class()
      if not isinstance(
          cls.EXECUTOR_SPEC, executor_spec.BeamExecutorSpec
      ):
          raise TypeError(
              (
                  "Beam component class %s expects EXECUTOR_SPEC property to be an "
                  "instance of BeamExecutorSpec; got %s instead."
              )
              % (cls, type(cls.EXECUTOR_SPEC))
          )
  
file_path: tfx/tfx/dsl/components/base/base_beam_component.py
imports: from typing import Iterable, cast, Union
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import executor_spec
  from tfx.dsl.placeholder import placeholder
label_desc: Use image node_id 2 for calling the BaseBeamComponent obj's underlying member method code with example usage: obj._validate_component_class(cls) without return types