class_docstr: Component info.
  
  Attributes:
    component_type: type of the component. Usually determined by the executor
      python path or image uri.
    component_id: a unique identifier of the component instance within pipeline.
    pipeline_info: the pipeline info of the current pipeline run.
code: def __init__(
      self,
      component_type: str,
      component_id: str,
      pipeline_info: PipelineInfo,
  ):
      self.component_type = component_type
      self.component_id = component_id
      self.pipeline_info = pipeline_info
  
imports: from typing import Any, Dict, List, Optional, Type, Union
  from tfx import types
  from tfx.dsl.placeholder import placeholder
  from tfx.utils import json_utils
label_desc: Use image node_id 1 to create a new ComponentInfo object  with example: obj = ComponentInfo(component_type, component_id, pipeline_info)