Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Rename env vars

Pre-release
Pre-release
Compare
Choose a tag to compare
@bradleygolden bradleygolden released this 07 Oct 14:23
· 2 commits to master since this release
8bfb495

The user can now rename environment variables within the config class.

i.e.

# echo $APP_DEBUG
# "true"
config.from_envar("APP_DEBUG", rename="DEBUG")
assert config["DEBUG"] == True