Skip to content

Commit

Permalink
update start execution lambda handler signature to match our other la…
Browse files Browse the repository at this point in the history
…mbdas
  • Loading branch information
jtherrmann committed Mar 7, 2025
1 parent c46e857 commit 8936274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/start-execution/src/start_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8936274

Please sign in to comment.