code: def runtime_info(key: RuntimeInfoKeys) -> RuntimeInfoPlaceholder:
      """Returns a Placeholder that contains runtime information for component.
  
      Currently the runtime info includes following keys:
      1. executor_spec: The executor spec proto.
      2. platform_config: A proto that contains platform-specific information for
             the current pipeline node.
      3. pipeline_platform_config: A proto that contains platform-specific
            information for the pipeline as a whole.
  
  
      Args:
        key: The key of the runtime information.
  
      Returns:
        A Placeholder that will render to the information associated with the key.
        If the placeholder is proto-valued. Accessing a proto field can be
        represented as if accessing a proto field in Python.
  
      Raises:
        ValueError: If received unsupported key.
      """
      return RuntimeInfoPlaceholder(key)
  
imports: from __future__ import annotations
  import typing
  from typing import Any, Literal, Optional, Union
  from tfx.dsl.placeholder import placeholder_base
  from tfx.proto.orchestration import placeholder_pb2
  from google.protobuf import message
label_desc: Use image node_id 2 for calling a global function with example usage: runtime_info(key) and returns: RuntimeInfoPlaceholder