Added deleting finished/not started jobs. Modified code to work with new ATEapi docker

This commit is contained in:
Kikimanox
2022-10-24 16:54:58 +02:00
parent 5947cc1b00
commit e95d534e78
6 changed files with 79 additions and 28 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class JobResponse(Model):
:param job_status: The job_status of this JobResponse.
:type job_status: str
"""
allowed_values = ["waiting in que", "currently processing", "finished processing"] # noqa: E501
allowed_values = ["waiting in que", "currently processing", "finished processing (OK)", "finished processing (ERROR)"] # noqa: E501
if job_status not in allowed_values:
raise ValueError(
"Invalid value for `job_status` ({0}), must be one of {1}"