code: def register_plugin_module(mod):
      
      for k, v in load_plugins_from_module(mod).items():
          if k:
              if isinstance(k, (list, tuple)):
                  k = k[0]
              global_registry[k] = v
docs: Find plugins in given module