temporary_option_value

Full name: ase2sprkkr.common.temporary.temporary_option_value

ase2sprkkr.common.temporary.temporary_option_value(option, value)[source]

Temporarily override one option’s effective value.

The override is converted and validated like a normal option value, but is stored in the transient result slot so the canonical stored value is not changed. The exact original option state, including an existing transient result, is restored even if the body raises.

Unlike ConfigurationTransaction, this helper is deliberately option-local. A configuration transaction is root-scoped and would also roll back unrelated mutations made to the same configuration while the temporary value is active.