mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
mypy
This commit is contained in:
parent
598221d6e3
commit
ac90abd621
@ -121,7 +121,7 @@ def fastapi_gesamtlast(request: GesamtlastRequest) -> list[float]:
|
|||||||
adjuster.adjust_predictions()
|
adjuster.adjust_predictions()
|
||||||
future_predictions = adjuster.predict_next_hours(hours)
|
future_predictions = adjuster.predict_next_hours(hours)
|
||||||
|
|
||||||
leistung_haushalt = future_predictions["Adjusted Pred"].values
|
leistung_haushalt = future_predictions["Adjusted Pred"].to_numpy()
|
||||||
gesamtlast = Gesamtlast(prediction_hours=hours)
|
gesamtlast = Gesamtlast(prediction_hours=hours)
|
||||||
gesamtlast.hinzufuegen(
|
gesamtlast.hinzufuegen(
|
||||||
"Haushalt",
|
"Haushalt",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user