3cd7ff11f6
Breaking: Changed a lot of column names
13 lines
264 B
Python
13 lines
264 B
Python
from environs import Env
|
|
|
|
env = Env()
|
|
env.read_env() # read .env file, if it exists
|
|
|
|
|
|
class Settings:
|
|
debug: bool = env("DEBUG")
|
|
host: str = env("HOST")
|
|
port: int = env.int("PORT")
|
|
db_url: str = env("DB_URL")
|
|
log_level: str = env("LOG_LEVEL")
|