ActivationVariables#
An object that holds the state of the current environment.
__init__ #
__init__(
current_prefix=None,
current_path=None,
path_modification_behavior=PathModificationBehavior.Prepend,
)
Construct a new ActivationVariables object.
The current activated conda prefix (usually
os.environ["CONDA_PREFIX"]). This prefix is going to be deactivated.
current_path: The current PATH environment variable (usually
os.environ["PATH"].split(os.pathsep)).
path_modification_behavior: The behavior to use when modifying the PATH
environment variable. One of "Prepend", "Append", or "Replace".
Defaults to "Prepend".