code: def _pretty_format_sql(text: str):
      import pygments
      from pygments.formatters.terminal import TerminalFormatter
      from pygments.lexers.sql import SqlLexer
  
      text = pygments.highlight(
          code=text, formatter=TerminalFormatter(), lexer=SqlLexer()
      ).rstrip()
      return text
  
file_path: airflow/tests/test_utils/perf/perf_kit/sqlalchemy.py
imports: from __future__ import annotations
  import os
  import time
  import traceback
  from typing import Callable
  from sqlalchemy import event
label_desc: Use image node_id 1 for calling a global function with example usage: _pretty_format_sql(text) and returns: text