Files
EOS/src/akkudoktoreos/core
thefechner 8c7f7f321d
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 to allow Union fallthrough for non-DataFrame inputs (#993)
* 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>
2026-04-05 21:58:47 +02:00
..
2025-01-06 19:34:15 +01:00