Something is wrong with RSSerpent...
If you believe this is a bug 🐛 of RSSerpent, please create an issue.
Path: /slackware-news
Message: 1 validation error for RSSFeed
items.0.pub_date
Input should be an instance of Arrow [type=is_instance_of, input_value='2022-02-03', input_type=_ElementUnicodeResult]
For further information visit https://errors.pydantic.dev/2.9/v/is_instance_of
Traceback:
Traceback (most recent call last): File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 776, in app await route.handle(scope, receive, send) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 297, in handle await self.app(scope, receive, send) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app raise exc File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 72, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "app/rsserpent_rev/main.py", line 81, in endpoint feed = RSSFeed.model_validate(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "root/.cache/pypoetry/virtualenvs/rsserpent-rev-9TtSrW0h-py3.12/lib/python3.12/site-packages/pydantic/main.py", line 596, in model_validate return cls.__pydantic_validator__.validate_python( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pydantic_core._pydantic_core.ValidationError: 1 validation error for RSSFeed items.0.pub_date Input should be an instance of Arrow [type=is_instance_of, input_value='2022-02-03', input_type=_ElementUnicodeResult] For further information visit https://errors.pydantic.dev/2.9/v/is_instance_of
Document | Source Code | Issue | Telegram