optunahub.load_local_module
- optunahub.load_local_module(package: str, *, registry_root: str = '/') ModuleType
- Import a package from the local registry.
The imported package name is set to
optunahub_registry.package.<package>
.
- Parameters:
package – The package name to load.
registry_root – The root directory of the registry. The default is the root directory of the file system, e.g., “/” for UNIX-like systems.
- Returns:
The module object of the package.