fix limit

This commit is contained in:
2025-07-23 10:18:02 -03:00
parent 475721252f
commit 3060eb5ac0
5 changed files with 18 additions and 12 deletions

View File

@@ -30,10 +30,11 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
# f'SLOT#ORG#{org_id}',
f'vacancies#{org_id}',
order_id,
)
),
limit=100,
)
logger.info('Slots found', slots=result['items'])
logger.info('Slots found', total_items=len(result['items']), slots=result['items'])
with enrollment_layer.batch_writer() as batch:
for pair in result['items']: