code: def load_entrypoint_plugins():
      """
      Load and register plugins AirflowPlugin subclasses from the entrypoints.
  
      The entry_point group should be 'airflow.plugins'.
      """
      global import_errors
  
      log.debug("Loading plugins from entrypoints")
  
      for entry_point, dist in entry_points_with_dist(
          "airflow.plugins"
      ):
          log.debug("Importing entry_point plugin %s", entry_point.name)
          try:
              plugin_class = entry_point.load()
              if not is_valid_plugin(plugin_class):
                  continue
  
              plugin_instance = plugin_class()
              plugin_instance.source = EntryPointSource(
                  entry_point, dist
              )
              register_plugin(plugin_instance)
          except Exception as e:
              log.exception(
                  "Failed to import plugin %s", entry_point.name
              )
              import_errors[entry_point.module] = str(e)
  
imports: from __future__ import annotations
  import importlib
  import importlib.machinery
  import importlib.util
  import inspect
  import logging
  import os
  import sys
  import types
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Iterable
  from airflow import settings
  from airflow.utils.entry_points import entry_points_with_dist
  from airflow.utils.file import find_path_from_directory
  from airflow.utils.module_loading import import_string, qualname
label_desc: Use image node_id 3 for calling a global function with example usage: load_entrypoint_plugins() without return types