Skip to content

Commit

Permalink
views: rename flask handler "queue_job" to more descriptive "start_job"
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Sep 26, 2024
1 parent 668ea28 commit af01338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeo_driver/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ def modify_job(job_id, user: User):
@api_endpoint
@blueprint.route('/jobs/<job_id>/results', methods=['POST'])
@auth_handler.requires_bearer_auth
def queue_job(job_id, user: User):
def start_job(job_id, user: User):
"""Start processing a batch job (add to the processing queue)."""
job_info = backend_implementation.batch_jobs.get_job_info(job_id, user.user_id)
if job_info.status in {JOB_STATUS.CREATED, JOB_STATUS.CANCELED}:
Expand Down

0 comments on commit af01338

Please sign in to comment.