class_docstr: Fake component for testing purpose only.
class_docstr_tok: ["Fake","component","for","testing","purpose","only","."]
code: def __init__(
      self,
      name: str,
      input_channel: types.Channel,
      output_channel: Optional[types.Channel] = None,
      custom_executor_spec: Optional[executor_spec.ExecutorSpec] = None,
  ):
      output_channel = output_channel or types.Channel(
          type=_OutputArtifact
      ).set_artifacts([_OutputArtifact()])
      spec = _FakeComponentSpec(
          input=input_channel, output=output_channel
      )
      super().__init__(
          spec=spec, custom_executor_spec=custom_executor_spec
      )
      self._id = "{}.{}".format(self.__class__.__name__, name)
  
imports: import os
  from typing import Any, Dict, List, Optional
  from tfx import types
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import base_driver
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.dsl.io import fileio
  from tfx.orchestration import data_types
  from tfx.types import artifact_utils
  from tfx.types import channel_utils
  from tfx.types import component_spec
label_desc: Use image node_id 1 to create a new _FakeComponent object from inherited base classes: base_component with example: obj = _FakeComponent(name, input_channel, output_channel, custom_executor_spec)