We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e8be1 commit a8c4ea2Copy full SHA for a8c4ea2
python-client/wmill/wmill/client.py
@@ -257,10 +257,7 @@ def get_job_status(self, job_id: str) -> JobStatus:
257
assert job_type, f"{job} is not a valid job"
258
if job_type.lower() == "completedjob":
259
return "COMPLETED"
260
- additional_properties = job.get("additional_properties", {})
261
- if "running" not in additional_properties:
262
- raise Exception(f"{job_id} is not running")
263
- if additional_properties.get("running"):
+ if job.get("running"):
264
return "RUNNING"
265
return "WAITING"
266
0 commit comments