Files
quant-data-collect/config.py
yhydev@outlook.com de7b98f44b 优化代码
2025-06-15 02:46:36 +00:00

11 lines
260 B
Python

from dynaconf import Dynaconf
settings = Dynaconf(
envvar_prefix="DYNACONF",
settings_files=['settings.toml', '.secrets.toml'],
)
# `envvar_prefix` = export envvars with `export DYNACONF_FOO=bar`.
# `settings_files` = Load these files in the order.