dmf.env.unsetenv#

dmf.env.unsetenv(key: str, scope: Literal['project', 'user'] | None = None)[source]#

Unset (delete) an environment variable.

Parameters:
  • key (str) – The name of the environment variable to unset.

  • scope (Optional[Literal["project", "user"]], optional) – The environment from which to unset the variable. Can be “project” or “user”. Defaults to None.