code: def black_format(content) -> str:
      return format_str(content, mode=_black_mode())
  
imports: from __future__ import annotations
  import os
  from functools import lru_cache
  from black import Mode, TargetVersion, format_str, parse_pyproject_toml
  from airflow_breeze.utils.path_utils import AIRFLOW_SOURCES_ROOT
label_desc: Use image node_id 2 for calling a global function with example usage: black_format(content) and returns: format_str