mirror of
https://github.com/olegvodyanov/docbot.git
synced 2025-12-19 23:57:05 +03:00
15 lines
313 B
Python
15 lines
313 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
model_config = SettingsConfigDict(env_file='.env', env_file_encoding='utf-8')
|
|
|
|
BOT_TOKEN: str
|
|
DATABASE_URL: str
|
|
ADMIN_API_KEY: str
|
|
LOGGING_LEVEL: str
|
|
PRODAMUS_TOKEN: str
|
|
|
|
|
|
settings = Settings()
|