class_docstr: Helper methods for Kubeflow Handler.
class_docstr_tok: ["Helper","methods","for","Kubeflow","Handler","."]
docstr: Lists all runs of a pipeline.
docstr_tok: ["Lists","all","runs","of","a","pipeline","."]
code: def list_runs(self) -> None:
      """Lists all runs of a pipeline."""
      pipeline_name = self.flags_dict[labels.PIPELINE_NAME]
  
      # Check if pipeline exists.
      self._get_pipeline_id(pipeline_name, check=True)
  
      # List runs.
      experiment_id = self._get_experiment_id(
          self._get_experiment_name(pipeline_name)
      )
      response = self._client.list_runs(experiment_id=experiment_id)
  
      if response and response.runs:
          self._print_runs(pipeline_name, response.runs)
      else:
          click.echo("No runs found.")
  
imports: import functools
  import os
  import sys
  import time
  from typing import Any, Dict, Optional
  import click
  import kfp
  from tfx.orchestration.kubeflow import kubeflow_dag_runner
  from tfx.tools.cli import labels
  from tfx.tools.cli.container_builder import builder
  from tfx.tools.cli.handler import base_handler
  from tfx.tools.cli.handler import kubeflow_dag_runner_patcher
label_desc: Use image node_id 10 for calling the KubeflowHandler obj's underlying member method code with example usage: obj.list_runs() without return types