From 4ce41ff11b4c25d3a1df5c3aa65a2e1ab95ff2ab Mon Sep 17 00:00:00 2001 From: moritzmeister Date: Tue, 26 Jan 2021 21:27:06 +0100 Subject: [PATCH] fix deserialization --- python/hsfs/constructor/query.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/hsfs/constructor/query.py b/python/hsfs/constructor/query.py index e6b8e5009e..97ff643b69 100644 --- a/python/hsfs/constructor/query.py +++ b/python/hsfs/constructor/query.py @@ -238,7 +238,9 @@ def _hopsworks_json(cls, json_dict): A partially deserialize query object """ json_decamelized = humps.decamelize(json_dict) - return cls(**json_decamelized) + new = cls(**json_decamelized) + new._joins = humps.camelize(new._joins) + return new def to_string(self, online=False): fs_query_instance = self._query_constructor_api.construct_query(self)