root_settings¶
The settings root object and whole-tree snapshots.
AlganSettings is the type of algan.SETTINGS. It owns the section
instances, keeps their identity stable across mutation, and refuses assignment to
a section attribute – replacing a section would strand every reference already
taken to it.
SettingsSnapshot captures the whole tree at once.
SETTINGS.snapshot() and SETTINGS.restore(...) are the save/restore pair
for longer-lived flows; SETTINGS.override(...) is the scoped form for a block
that spans several sections.
Classes
Stable process-global root for runtime-adjustable Algan settings. |
|
Immutable snapshot of all public runtime-adjustable settings. |