10 lines
273 B
Python
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'
|