Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

hello pydantic error #37

Open
itznyperx1111 opened this issue May 28, 2024 · 0 comments
Open

hello pydantic error #37

itznyperx1111 opened this issue May 28, 2024 · 0 comments

Comments

@itznyperx1111
Copy link

Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\TapSwapBot-main\main.py", line 4, in
from bot.utils.launcher import process
File "C:\Users\Administrator\Desktop\TapSwapBot-main\bot\utils_init_.py", line 2, in
from . import launcher
File "C:\Users\Administrator\Desktop\TapSwapBot-main\bot\utils\launcher.py", line 10, in
from bot.config import settings
File "C:\Users\Administrator\Desktop\TapSwapBot-main\bot\config_init_.py", line 1, in
from .config import settings
File "C:\Users\Administrator\Desktop\TapSwapBot-main\bot\config\config.py", line 31, in
settings = Settings()
File "C:\Users\Administrator\Desktop\TapSwapBot-main\venv\lib\site-packages\pydantic_settings\main.py", line 84, in init
super().init(
File "C:\Users\Administrator\Desktop\TapSwapBot-main\venv\lib\site-packages\pydantic\main.py", line 171, in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 2 validation errors for Settings
AUTO_UPGRADE_TAP
Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='10', input_type=str]
For further information visit https://errors.pydantic.dev/2.6/v/bool_parsing
AUTO_UPGRADE_CHARGE
Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='5', input_type=str]
For further information visit https://errors.pydantic.dev/2.6/v/bool_parsing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant