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