TW-Requests/tgbot_app/config.py
2024-07-15 10:15:51 +03:00

12 lines
212 B
Python

from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
T_TOKEN: str
R_PASSWORD: str
model_config = SettingsConfigDict(env_file='.env')
settings = Settings()