code: def iter_namespace(ns_pkg):
      # Specifying the second argument (prefix) to iter_modules makes the
      # returned name an absolute name instead of a relative one. This allows
      # import_module to work without having to do additional modification to
      # the name.
      import pkgutil
  
      return pkgutil.iter_modules(
          ns_pkg.__path__, ns_pkg.__name__ + "."
      )
  
imports: import os
  import traceback
  from .card import MetaflowCard, MetaflowCardComponent
  from metaflow.extension_support import get_modules, EXT_PKG, _ext_debug
label_desc: Use image node_id 1 for calling a global function with example usage: iter_namespace(ns_pkg) and returns: pkgutil