From f1a2bbc4678948d946dc746d1d7469f48f85b204 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Mon, 22 Jun 2026 16:13:10 +0000 Subject: [PATCH] list of properties when triggering locally --- scripts/trigger_modelling_e2e_sqs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/trigger_modelling_e2e_sqs.py b/scripts/trigger_modelling_e2e_sqs.py index d220e799..8ab868c3 100644 --- a/scripts/trigger_modelling_e2e_sqs.py +++ b/scripts/trigger_modelling_e2e_sqs.py @@ -75,7 +75,9 @@ def main() -> None: f"no_solar={NO_SOLAR}, dry_run={DRY_RUN}) → {SQS_URL}" ) - sqs: Any = cast(Any, boto3.client("sqs")) # pyright: ignore[reportUnknownMemberType] + sqs: Any = cast( + Any, boto3.client("sqs") + ) # pyright: ignore[reportUnknownMemberType] sent = 0 for batch in _batches(ids, _BATCH_SIZE): entries = [ @@ -83,7 +85,7 @@ def main() -> None: "Id": str(uuid4()).replace("-", "")[:8] + str(i), "MessageBody": json.dumps( { - "property_id": pid, + "property_id": [pid], "portfolio_id": PORTFOLIO_ID, "scenario_id": SCENARIO_ID, "no_solar": NO_SOLAR,