class_docstr: Helper methods for Airflow Handler.
class_docstr_tok: ["Helper","methods","for","Airflow","Handler","."]
code: def _get_all_runs(self, pipeline_name) -> List[Dict[str, str]]:
      dag_runs_list = subprocess.check_output(
          [
              "airflow",
              "dags",
              "list-runs",
              "-d",
              pipeline_name,
              "-o",
              "json",
          ],
          encoding="utf-8",
      )
      return json.loads(dag_runs_list)
  
imports: import json
  import os
  import subprocess
  from typing import Any, Dict, List
  import click
  from tfx.dsl.io import fileio
  from tfx.tools.cli import labels
  from tfx.tools.cli.handler import airflow_dag_runner_patcher
  from tfx.tools.cli.handler import base_handler
  from tfx.utils import io_utils
label_desc: Use image node_id 12 for calling the AirflowHandler obj's underlying member method code with example usage: obj._get_all_runs(pipeline_name) and returns: json