This commit is contained in:
2026-01-21 21:31:32 -03:00
parent 26c3df876f
commit 37a9b20188
38 changed files with 1009 additions and 532 deletions

View File

@@ -23,7 +23,11 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
order_id = keys['id']
r = dyn.collection.query(PartitionKey(order_id), limit=150)
logger.info('Records found', total_items=len(r['items']), records=r['items'])
logger.info(
msg='Records found',
total_items=len(r['items']),
records=r['items'],
)
with dyn.batch_writer() as batch:
for pair in r['items']: