integrate/app/settings.py

11 lines
276 B
Python
Raw Normal View History

2022-03-04 18:51:33 +01:00
from pydantic import BaseSettings, Field
class Settings(BaseSettings):
wekan_baseurl: str = Field(..., env="WEKAN_URL")
wekan_user: str = Field(..., env="WEKAN_USER")
wekan_pw: str = Field(..., env="WEKAN_PASS")
class Config:
env_file = '.env'
nc