10000 Auto close completed issues · Issue #718 · WenjieDu/PyPOTS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Open
WenjieDu opened this issue Apr 8, 2025 · 2 comments
< 8000 div class="mr-2 mb-2 flex-shrink-0"> Open

Auto close completed issues #718

WenjieDu opened this issue Apr 8, 2025 · 2 comments
Assignees
Labels
completed The issue has been completed github actions Issue/PR related to GitHub Actions

Comments

@WenjieDu
Copy link
Owner
WenjieDu commented Apr 8, 2025

Issue description

Add a GitHub workflow to auto-close issues that have been resolved

Your contribution

Will make it

@WenjieDu WenjieDu added the github actions Issue/PR related to GitHub Actions label Apr 8, 2025
@WenjieDu WenjieDu self-assigned this Apr 8, 2025
@WenjieDu WenjieDu added the completed The issue has been completed label Apr 9, 2025
Copy link

It seems the issue was completed. Closing it now.

@WenjieDu WenjieDu reopened this Apr 10, 2025
@WenjieDu
Copy link
Owner Author

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"

@WenjieDu WenjieDu mentioned this issue Apr 10, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed The issue has been completed github actions Issue/PR related to GitHub Actions
Projects
None yet
Development

No branches or pull requests

1 participant
0