mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-06-17 00:28:12 +00:00
Some checks failed
Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled
Bump Version / Bump Version Workflow (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
docker-build / platform-excludes (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
* fix: catch AttributeError in validate_data for non-DataFrame Union types
PUT /v1/prediction/import/{provider_id} crashed with AttributeError
when Union validator tried PydanticDateTimeDataFrame validation on
scalar float/int values. Instead of falling through to DateTimeData
or dict, the exception propagated as 500. Fixes #992.
* fix: correct indentation of ValueError in validate_data
---------
Co-authored-by: Normann <github@koldrack.com>