class_docstr: Custom Consumer Component.
class_docstr_tok: ["Custom","Consumer","Component","."]
code: def __init__(self, data: types.Channel):
      spec = CustomConsumerSpec(data=data)
      super().__init__(spec=spec)
  
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_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.orchestration import pipeline
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.types import component_spec
  from tfx.types import standard_artifacts
  from tfx.types.artifact import Artifact
  from tfx.types.artifact import Property
  from tfx.types.artifact import PropertyType
  from google.protobuf import duration_pb2
  from google.protobuf import timestamp_pb2
label_desc: Use image node_id 1 to create a new CustomConsumer object from inherited base classes: base_component with example: obj = CustomConsumer(data)