fix(python-client): improve error message for wait_job

This commit is contained in:
Ruben Fiszel
2024-04-29 12:10:23 +02:00
parent 4d0aea49a2
commit 9f6e886570
+1 -1
View File
@@ -170,7 +170,7 @@ class Windmill:
timeout = timeout.total_seconds()
while True:
result_res = self.get(f"/w/{self.workspace}/jobs_u/completed/get_result_maybe/{job_id}", False).json()
result_res = self.get(f"/w/{self.workspace}/jobs_u/completed/get_result_maybe/{job_id}", True).json()
started = result_res["started"]
completed = result_res["completed"]