From 9f6e886570fc995d532eccf0e63c2742ea0779b1 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 29 Apr 2024 12:10:23 +0200 Subject: [PATCH] fix(python-client): improve error message for wait_job --- python-client/wmill/wmill/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-client/wmill/wmill/client.py b/python-client/wmill/wmill/client.py index 61eb3a6196..d1110ec3d7 100644 --- a/python-client/wmill/wmill/client.py +++ b/python-client/wmill/wmill/client.py @@ -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"]