Skip to content

core.config ​

Overview ​

TOML-based configuration adapter with typed accessors and environment variable overrides.

Classes ​

load_toml ​

Return the parsed contents of the TOML file at path, or an empty dict when the file does not exist.

Settings modules merge config.toml and config.local.toml this way before passing the result to TomlEnv.

Signature ​

load_toml(path)

Parameters ​

NameTypeRequiredDefaultDescription
pathos.PathLike[str] | stryes

Returns ​

dict[str, Any]

Source ​

server/vueda/core/config.py:440

Source ​

server/vueda/core/config.py