ModifiedEnvironment¶
- class lsst.ts.imsim.utils.ModifiedEnvironment(**kwargs)¶
Bases:
object
Context manager to temporarily modify shell environment with specified overrides.
Parameters¶
- **kwargsdict
Dictionary of environment variables to override. Keys and values should be type str, unless the value is None, in which case the environment variable will be unset.