mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
fix(python-client): improve error message for wait_job
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user