mirror of
https://github.com/flibusta-apps/telegram_files_server.git
synced 2025-12-06 12:35:39 +01:00
Fix
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
from pydantic_settings import BaseSettings
|
||||
from pydantic_settings import (
|
||||
BaseSettings,
|
||||
SettingsConfigDict,
|
||||
)
|
||||
|
||||
|
||||
BotToken = str
|
||||
@@ -18,10 +21,10 @@ class EnvConfig(BaseSettings):
|
||||
|
||||
TELEGRAM_CHAT_ID: int
|
||||
|
||||
BOT_TOKENS: Optional[list[BotToken]]
|
||||
BOT_TOKENS: Optional[list[BotToken]] = None
|
||||
|
||||
TELETHON_APP_CONFIG: Optional[TelethonConfig]
|
||||
TELETHON_SESSIONS: Optional[list[TelethonSessionName]]
|
||||
TELETHON_APP_CONFIG: Optional[TelethonConfig] = None
|
||||
TELETHON_SESSIONS: Optional[list[TelethonSessionName]] = None
|
||||
|
||||
SENTRY_DSN: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user