From be6ee706e882f3e5f02c9cc70cd959f11c5a4a2c Mon Sep 17 00:00:00 2001 From: Zoltan Szabo <38726653+sc15zs@users.noreply.github.com> Date: Tue, 14 Jan 2025 13:12:21 +0000 Subject: [PATCH] Alter IngestDependencies to allow submit negative values on Finances/ Forecast and Actual Spend Revenue column (Stockton-on-Tees). --- data_store/controllers/ingest_dependencies.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data_store/controllers/ingest_dependencies.py b/data_store/controllers/ingest_dependencies.py index de2dd51bd..79b28bc5b 100644 --- a/data_store/controllers/ingest_dependencies.py +++ b/data_store/controllers/ingest_dependencies.py @@ -172,6 +172,10 @@ def alter_validations_for_stockton(ingest_dependency: IngestDependencies) -> Ing "Total cumulative actuals to date, (Up to and including Mar 2024), Actual" ] = float_column() + ingest_dependency.extract_process_validate_schema["Forecast and actual spend (revenue)"].validate.columns[ + "Total cumulative actuals to date, (Up to and including Mar 2024), Actual" + ] = float_column() + ingest_dependency.extract_process_validate_schema["Project finance changes"].validate.columns[ "Amount moved" ] = float_column()