code: def initial_db_init():
      from flask import Flask
  
      from airflow.configuration import conf
      from airflow.utils import db
      from airflow.www.extensions.init_appbuilder import init_appbuilder
      from airflow.www.extensions.init_auth_manager import (
          get_auth_manager,
      )
  
      db.resetdb()
      db.bootstrap_dagbag()
      # minimal app to add roles
      flask_app = Flask(__name__)
      flask_app.config["SQLALCHEMY_DATABASE_URI"] = conf.get(
          "database", "SQL_ALCHEMY_CONN"
      )
      init_appbuilder(flask_app)
      get_auth_manager().init()
  
imports: from __future__ import annotations
  import json
  import os
  import platform
  import subprocess
  import sys
  import warnings
  from contextlib import ExitStack, suppress
  from datetime import datetime, timedelta
  from pathlib import Path
  from typing import TYPE_CHECKING
  import pytest
  import time_machine
  from itsdangerous import URLSafeSerializer
label_desc: Use image node_id 7 for calling a global function with example usage: initial_db_init() without return types