code: def configure_vars():
      """Configure Global Variables from airflow.cfg."""
      global SQL_ALCHEMY_CONN
      global DAGS_FOLDER
      global PLUGINS_FOLDER
      global DONOT_MODIFY_HANDLERS
      SQL_ALCHEMY_CONN = conf.get("database", "SQL_ALCHEMY_CONN")
      if SQL_ALCHEMY_CONN.startswith(
          "sqlite"
      ) and not SQL_ALCHEMY_CONN.startswith("sqlite:////"):
          from airflow.exceptions import AirflowConfigException
  
          raise AirflowConfigException(
              f"Cannot use relative path: `{SQL_ALCHEMY_CONN}` to connect to sqlite. "
              "Please use absolute path such as `sqlite:////tmp/airflow.db`."
          )
  
      DAGS_FOLDER = os.path.expanduser(conf.get("core", "DAGS_FOLDER"))
  
      PLUGINS_FOLDER = conf.get(
          "core",
          "plugins_folder",
          fallback=os.path.join(AIRFLOW_HOME, "plugins"),
      )
  
      # If donot_modify_handlers=True, we do not modify logging handlers in task_run command
      # If the flag is set to False, we remove all handlers from the root logger
      # and add all handlers from 'airflow.task' logger to the root Logger. This is done
      # to get all the logs from the print & log statements in the DAG files before a task is run
      # The handlers are restored after the task completes execution.
      DONOT_MODIFY_HANDLERS = conf.getboolean(
          "logging", "donot_modify_handlers", fallback=False
      )
  
imports: from __future__ import annotations
  import atexit
  import functools
  import json
  import logging
  import os
  import sys
  import warnings
  from typing import TYPE_CHECKING, Any, Callable
  import pluggy
  from sqlalchemy import create_engine, exc, text
  from sqlalchemy.orm import scoped_session, sessionmaker
  from sqlalchemy.pool import NullPool
  from airflow import policies
  from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf
  from airflow.exceptions import RemovedInAirflow3Warning
  from airflow.executors import executor_constants
  from airflow.logging_config import configure_logging
  from airflow.utils.orm_event_handlers import setup_event_handlers
  from airflow.utils.state import State
  from airflow.utils.timezone import local_timezone, parse_timezone, utc
label_desc: Use image node_id 12 for calling a global function with example usage: configure_vars() without return types