You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Добрый день !
Код из файла config_reader.py может выдавать ошибку -
pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings
bot_token
Field required [type=missing, input_value={}, input_type=dict]
чтобы все работало нужно дописать в файл config_reader.py следующие строки
from dotenv import load_dotenv
load_dotenv()
The text was updated successfully, but these errors were encountered:
Добрый день !
Код из файла config_reader.py может выдавать ошибку -
pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings
bot_token
Field required [type=missing, input_value={}, input_type=dict]
чтобы все работало нужно дописать в файл config_reader.py следующие строки
from dotenv import load_dotenv
load_dotenv()
The text was updated successfully, but these errors were encountered: