kernelfoundry.eval_pipeline.utils.env_helper

Functions for managing environments for executing tasks.

Functions

safe_copy_env([add_vars, extend_pythonpath, src])

Create a copy of the current environment with optional additional variables.

kernelfoundry.eval_pipeline.utils.env_helper.safe_copy_env(add_vars: dict[str, str] | None = None, extend_pythonpath: Path | str | list[str | Path] | None = None, src: dict[str, str] | None = None) dict[str, str][source]

Create a copy of the current environment with optional additional variables.