code: def auth_manager_with_appbuilder():
      flask_app = Flask(__name__)
      appbuilder = init_appbuilder(flask_app)
      return EmptyAuthManager(appbuilder)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from unittest.mock import MagicMock, Mock, patch
  import pytest
  from flask import Flask
  from airflow.auth.managers.base_auth_manager import BaseAuthManager, ResourceMethod
  from airflow.auth.managers.models.resource_details import ConnectionDetails, DagDetails, PoolDetails, VariableDetails
  from airflow.exceptions import AirflowException
  from airflow.security import permissions
  from airflow.www.extensions.init_appbuilder import init_appbuilder
  from airflow.www.security_manager import AirflowSecurityManagerV2
label_desc: Use image node_id 2 for calling a global function with example usage: auth_manager_with_appbuilder() and returns: EmptyAuthManager