code: def get_namespace_plugins(ns_pkg=None):
      if ns_pkg is None:
          import pelican.plugins as ns_pkg
  
      return {
          name: importlib.import_module(name)
          for finder, name, ispkg in iter_namespace(ns_pkg)
          if ispkg
      }
  
file_path: pelican/pelican/plugins/_utils.py
imports: import importlib
  import importlib.machinery
  import importlib.util
  import inspect
  import logging
  import pkgutil
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: get_namespace_plugins(ns_pkg) and returns: unknown