-
-
Notifications
You must be signed in to change notification settings - Fork 139
Auto close completed issues #718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
3 tasks
It seems the issue was completed. Closing it now. |
The workflow failed in https://github.com/WenjieDu/PyPOTS/actions/runs/14369295216/job/40289130479 with below error /code/app/main.py:29: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.9/migration/
@validator("input_config", pre=True)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pydantic_settings/sources.py", line 430, in __call__
field_value = self.prepare_field_value(field_name, field, field_value, value_is_complex)
File "/usr/local/lib/python3.10/site-packages/pydantic_settings/sources.py", line 632, in prepare_field_value
raise e
File "/usr/local/lib/python3.10/site-packages/pydantic_settings/sources.py", line 629, in prepare_field_value
value = self.decode_complex_value(field_name, field, value)
File "/usr/local/lib/python3.10/site-packages/pydantic_settings/sources.py", line 242, in decode_complex_value
return json.loads(value)
File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 9 column 1 (char 303)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/code/app/main.py", line [15](https://github.com/WenjieDu/PyPOTS/actions/runs/14369295216/job/40289130479#step:3:16)3, in <module>
settings = Settings()
File "/usr/local/lib/python3.10/site-packages/pydantic_settings/main.py", line 145, in __init__
**__pydantic_self__._settings_build_values(
File "/usr/local/lib/python3.10/site-packages/pydantic_settings/main.py", line 329, in _settings_build_values
source_state = source()
File "/usr/local/lib/python3.10/site-packages/pydantic_settings/sources.py", line 432, in __call__
raise SettingsError(
pydantic_settings.sources.SettingsError: error parsing value for field "input_config" from source "EnvSettingsSource" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Issue description
Add a GitHub workflow to auto-close issues that have been resolved
Your contribution
Will make it
The text was updated successfully, but these errors were encountered: