config.py 242 Bytes
from aabd.base.cfg_loader import load_yaml_by_name_with_env
from aabd.base.enhance_dict import EnhanceDict, read_prefixed_env_vars

settings = EnhanceDict(load_yaml_by_name_with_env('config'))
settings.update(read_prefixed_env_vars('APP_'))