integrate/app/settings.py
2022-03-06 15:51:27 +01:00

10 lines
273 B
Python

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'