code: def configure_orm(disable_connection_pool=False, pool_class=None):
      """Configure ORM using SQLAlchemy."""
      from airflow.utils.log.secrets_masker import mask_secret
  
      global Session
      global engine
      if os.environ.get("_AIRFLOW_SKIP_DB_TESTS") == "true":
          # Skip DB initialization in unit tests, if DB tests are skipped
          Session = SkipDBTestsSession
          engine = None
          return
      log.debug("Setting up DB connection pool (PID %s)", os.getpid())
      engine_args = prepare_engine_args(
          disable_connection_pool, pool_class
      )
  
      if conf.has_option("database", "sql_alchemy_connect_args"):
          connect_args = conf.getimport(
              "database", "sql_alchemy_connect_args"
          )
      else:
          connect_args = {}
  
      engine = create_engine(
          SQL_ALCHEMY_CONN,
          connect_args=connect_args,
          **engine_args,
          future=True,
      )
  
      mask_secret(engine.url.password)
  
      setup_event_handlers(engine)
  
      Session = scoped_session(
          sessionmaker(
              autocommit=False,
              autoflush=False,
              bind=engine,
              expire_on_commit=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 13 for calling a global function with example usage: configure_orm(disable_connection_pool, pool_class) without return types