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,