Cleaned up some mess
@@ -13,37 +13,29 @@ class Base:
root = str(_entrypoint.parent)
debug = False
- LANG = 'en'
- CHIME_TITLE = 'Penn Medicine CHIME'
+ LANG = "en"
+ CHIME_TITLE = "Penn Medicine CHIME"
class Development(Base):
"""Development environment config"""
+
debug = True
class Testing(Base):
"""Testing environment config"""
+
debug = True
class Production(Base):
"""Production environment config"""
- debug = False
+ debug = False
def from_object(context: str):
- envs = {'dev': Development(), 'test': Testing(), 'prod': Production()}
+ envs = {"dev": Development(), "test": Testing(), "prod": Production()}
return envs[context]
-
-
-cfg = from_object('prod')
-
-
-print(cfg.__repr__())
-
-
-
-
