MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _load_release_module

Function _load_release_module

python/release_tooling_test.py:11–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10
11def _load_release_module():
12 path = Path(__file__).resolve().parents[1] / "tasks/scripts/release.py"
13 spec = importlib.util.spec_from_file_location("openshell_release_tooling", path)
14 assert spec is not None
15 assert spec.loader is not None
16 module = importlib.util.module_from_spec(spec)
17 sys.modules[spec.name] = module
18 spec.loader.exec_module(module)
19 return module
20
21
22release = _load_release_module()

Callers 1

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected