code: def get_providers() -> APIResponse:
      """Get providers."""
      providers = [
          _provider_mapper(d)
          for d in ProvidersManager().providers.values()
      ]
      total_entries = len(providers)
      return provider_collection_schema.dump(
          ProviderCollection(
              providers=providers, total_entries=total_entries
          )
      )
  
file_path: airflow/airflow/api_connexion/endpoints/provider_endpoint.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  import re2
  from airflow.api_connexion import security
  from airflow.api_connexion.schemas.provider_schema import Provider, ProviderCollection, provider_collection_schema
  from airflow.auth.managers.models.resource_details import AccessView
  from airflow.providers_manager import ProvidersManager
label_desc: Use image node_id 3 for calling a global function with example usage: get_providers() and returns: provider_collection_schema