fix: prediction import with pydantic-typed bodies (#1152)
Some checks failed
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
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled

Respect pydantic model in serializing json data for import.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
Bobby Noelte
2026-07-16 17:15:10 +02:00
committed by GitHub
parent 4848280f9c
commit 0306e7e4ed
9 changed files with 73 additions and 14 deletions

View File

@@ -3,6 +3,9 @@
"charges_kwh": 0.21,
"provider": "ElecPriceImport"
},
"feedintariff": {
"provider": "FeedInTariffFixed"
},
"general": {
"latitude": 52.5,
"longitude": 13.4