code: def _generate_func_api():
      """Auto detect all available interfaces and generate a function-based
      API from them
      """
      from importlib import import_module
  
      # load extensions requested by configuration
      import datalad
  
      if datalad.get_apimode() == "python":
          # only do this in Python API mode, because the CLI main
          # will have done this already
          from datalad.support.entrypoints import load_extensions
  
          load_extensions()
  
      from .interface.base import get_interface_groups
      from .interface.base import get_api_name
  
      for grp_name, grp_descr, interfaces in get_interface_groups():
          for intfspec in interfaces:
              # turn the interface spec into an instance
              mod = import_module(intfspec[0], package="datalad")
              intf = getattr(mod, intfspec[1])
              api_name = get_api_name(intfspec)
              globals()[api_name] = intf.__call__
  
label_desc: Use image node_id 1 for calling a global function with example usage: _generate_func_api() without return types