code: def _section_to_text(config_section: ConfigSection) -> str:
      """Convert a single config section to text."""
      return (
          f"[{config_section.name}]{LINE_SEP}"
          f"{LINE_SEP.join(_option_to_text(option) for option in config_section.options)}{LINE_SEP}"
      )
  
file_path: airflow/airflow/api_connexion/endpoints/config_endpoint.py
imports: from __future__ import annotations
  from http import HTTPStatus
  from flask import Response, request
  from airflow.api_connexion import security
  from airflow.api_connexion.exceptions import NotFound, PermissionDenied
  from airflow.api_connexion.schemas.config_schema import Config, ConfigOption, ConfigSection, config_schema
  from airflow.configuration import conf
  from airflow.settings import json
label_desc: Use image node_id 3 for calling a global function with example usage: _section_to_text(config_section) and returns: str, config_section, str, LINE_SEP, LINE_SEP, LINE_SEP