Skip to main content

kernel_environment

Function kernel_environment 

Source
pub fn kernel_environment<K: AsRef<OsStr>, V: AsRef<OsStr>>(
    source: impl IntoIterator<Item = (K, V)>,
) -> Vec<(K, V)>
Expand description

Environment for model-written Python: credentials and the session worker’s control variables are removed so the kernel gets no ambient authority. ULTRON_RLM_ENV_ALLOW lists names (comma-separated) to pass through anyway.