diff --git a/apps/start-execution/src/start_execution.py b/apps/start-execution/src/start_execution.py index 620a33e07..de883ab2f 100644 --- a/apps/start-execution/src/start_execution.py +++ b/apps/start-execution/src/start_execution.py @@ -48,7 +48,7 @@ def submit_jobs(jobs: list[dict]) -> None: @log_exceptions -def lambda_handler(event: dict, _) -> None: +def lambda_handler(event: dict, context: Any) -> None: pending_jobs = dynamo.jobs.get_jobs_waiting_for_execution(limit=500) pending_jobs = dynamo.util.convert_decimals_to_numbers(pending_jobs) logger.info(f'Got {len(pending_jobs)} pending jobs')