pavloo/config_py

Add an ability to get a current environment

pavloo opened this issue · 0 comments

config module should expose env var

from config import env

print(env.is_dev) # True
print(env.is_any_other) # False
print(env.name) # dev