Config

config.SectionSettings

Base for every athome settings model; binds one [section] of ~/.athome/config.toml.

Usage

Source

config.SectionSettings()
Precedence: init kwargs > env (ATHOME_

_) > TOML section > defaults.

:::

config.AthomeSettings

Root settings: the shared filesystem roots and the machine env prefix.

Usage

Source

config.AthomeSettings()

config.load()

Construct a settings model once per process (cleared in tests via load.cache_clear()).

Usage

Source

config.load(model)