code: def get_view_for_all_in(
      pipeline: pipeline_pb2.Pipeline,
  ) -> Sequence[NodeProtoView]:
      """Returns the views of nodes or inner pipelines in the given pipeline."""
      return [
          get_view(pipeline_or_node)
          for pipeline_or_node in pipeline.nodes
      ]
  
imports: import abc
  from typing import Sequence, Union
  from tfx.dsl.compiler import constants
  from tfx.proto.orchestration import pipeline_pb2
  from google.protobuf import message
label_desc: Use image node_id 2 for calling a global function with example usage: get_view_for_all_in(pipeline) and returns: unknown