From 01ccf67189cc9945e0e1d3d2935c79a8f928faef Mon Sep 17 00:00:00 2001 From: gardusig Date: Mon, 26 Jun 2023 21:25:40 -0300 Subject: [PATCH] Fixed object deserialization from ApiClient --- src/conductor/client/http/api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conductor/client/http/api_client.py b/src/conductor/client/http/api_client.py index 36a4aa46..362a8bd4 100644 --- a/src/conductor/client/http/api_client.py +++ b/src/conductor/client/http/api_client.py @@ -232,7 +232,7 @@ def __deserialize(self, data, klass): :return: object. """ - if not data: + if data is None: return None if type(klass) == str: