code: def exec_node_task_id_from_node(
      pipeline: pipeline_pb2.Pipeline,
      node: node_proto_view.NodeProtoView,
  ) -> TaskId:
      """Returns task id of an `ExecNodeTask` from pipeline and node."""
      return _exec_node_task_id(
          ExecNodeTask.task_type_id(), NodeUid.from_node(pipeline, node)
      )
  
imports: import abc
  import enum
  from typing import Dict, Hashable, List, Optional, Sequence, Type, TypeVar
  import attr
  from tfx import types
  from tfx.orchestration import node_proto_view
  from tfx.orchestration.experimental.core import env
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import status
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: exec_node_task_id_from_node(pipeline, node) and returns: _exec_node_task_id