14 lines
320 B
Python
14 lines
320 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
model_config = SettingsConfigDict(env_file='.env', env_file_encoding='utf-8')
|
|
|
|
telegram_bot_token: str
|
|
telegram_chat_id: str
|
|
telegram_message_thread_id: int
|
|
cors_origins: str = '*'
|
|
|
|
|
|
settings = Settings()
|