mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
list of properties when triggering locally
This commit is contained in:
parent
25c695186b
commit
f1a2bbc467
1 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue