code: def serve_health_check():
      """Start a http server to serve scheduler health check."""
      health_check_host = conf.get(
          "scheduler", "SCHEDULER_HEALTH_CHECK_SERVER_HOST"
      )
      health_check_port = conf.getint(
          "scheduler", "SCHEDULER_HEALTH_CHECK_SERVER_PORT"
      )
      httpd = HTTPServer(
          (health_check_host, health_check_port), HealthServer
      )
      httpd.serve_forever()
  
file_path: airflow/airflow/utils/scheduler_health.py
imports: from __future__ import annotations
  import logging
  from http.server import BaseHTTPRequestHandler, HTTPServer
  from sqlalchemy import select
  from airflow.configuration import conf
  from airflow.jobs.job import Job
  from airflow.jobs.scheduler_job_runner import SchedulerJobRunner
  from airflow.utils.net import get_hostname
  from airflow.utils.session import create_session
label_desc: Use image node_id 1 for calling a global function with example usage: serve_health_check() without return types