avid.common.config_manager.set_setting

avid.common.config_manager.set_setting(key: str, value: Any, scope: str | None = None) None

Set a configuration value. :param key: Dotted key, e.g. "core.timeout". :param value: Setting value that should be set. :param scope: Indicating the scope in which the setting should be set. Valid calues are "user", "venv" or None. If None, defaults to venv when inside a venv, else user.