From fe41f4ff4ce596cf394bd69a0ba48e88db8d2328 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sat, 9 Sep 2023 00:37:15 +0200 Subject: [PATCH] fix: fix get_result for python-client --- 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 9d39dc8ede..b3833100ea 100644 --- a/python-client/wmill/wmill/client.py +++ b/python-client/wmill/wmill/client.py @@ -191,7 +191,7 @@ def get_result(job_id: str) -> Dict[str, Any]: if not res.result: raise Exception(f"Unexpected result not found for completed job {job_id}") else: - return res.result.to_dict() # type: ignore + return res.result def get_resource(path: str | None = None, none_if_undefined: bool = False) -> Any: