code: def pause_all_dags(session):
      """
      Pause all Dags
      """
      from airflow.models.dag import DagModel
  
      session.query(DagModel).update({"is_paused": True})
  
file_path: airflow/dev/perf/scheduler_dag_execution_timing.py
imports: from __future__ import annotations
  import gc
  import os
  import statistics
  import sys
  import textwrap
  import time
  from argparse import Namespace
  from operator import attrgetter
  import rich_click
  from airflow.jobs.job import run_job
label_desc: Use image node_id 3 for calling a global function with example usage: pause_all_dags(session) without return types