From be425f1ea259c475ccc16b26213b82d6eb87bc8c Mon Sep 17 00:00:00 2001 From: Ezzaldin97 Date: Mon, 1 Jan 2024 07:51:05 +0200 Subject: [PATCH] UPDATE: add task to delete out of range data/LINTING --- app/inference/forecast.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/inference/forecast.py b/app/inference/forecast.py index e139da6..b573d81 100644 --- a/app/inference/forecast.py +++ b/app/inference/forecast.py @@ -115,6 +115,7 @@ def load_forecasts_into_db(conn, preds_df: pd.DataFrame) -> None: " preds_df" ) + def delete_out_of_range_data(conn, thresh_date: str) -> None: print("Deleting Out of Range Data") conn.sql(f"""