nirs4all.pipeline.dagml.methods_runtime module
Resolve the installed portable Methods runtime without a worktree path.
- nirs4all.pipeline.dagml.methods_runtime.resolve_methods_library_path(path: str | Path | None = None) str[source]
Return one absolute regular
libn4mpath for native DAG-ML calls.A caller may explicitly select a library, which is useful for an audited deployment. Otherwise the resolver uses the bundled library exposed by the official
nirs4all-methodsdistribution (import packagen4m). The resolved path is passed explicitly to DAG-ML; no sibling checkout or loader search path becomes part of the portable training contract.