datalad_next.utils.patched_env
- datalad_next.utils.patched_env(**env)[source]
Context manager for patching the process environment
Any number of kwargs can be given. Keys represent environment variable names, and values their values. A value of
None
indicates that the respective variable should be unset, i.e., removed from the environment.