formaptix-server/models/settings.py

13 lines
195 B
Python
Raw Normal View History

2024-08-08 22:14:02 +03:00
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database: str
secret: str
port: int
admin_password: str
disable_admin: bool
2024-08-08 22:14:02 +03:00
settings = Settings()