WIP
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user