From e2ebe0a71c03ad326321ee48a9c93b95afffe03a Mon Sep 17 00:00:00 2001 From: Florian Deconinck Date: Wed, 4 Sep 2024 10:56:14 -0400 Subject: [PATCH] Update src/gt4py/cartesian/gtc/dace/nodes.py Co-authored-by: Roman Cattaneo --- src/gt4py/cartesian/gtc/dace/nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gt4py/cartesian/gtc/dace/nodes.py b/src/gt4py/cartesian/gtc/dace/nodes.py index 176d1d4b65..926265b2c7 100644 --- a/src/gt4py/cartesian/gtc/dace/nodes.py +++ b/src/gt4py/cartesian/gtc/dace/nodes.py @@ -59,8 +59,8 @@ def from_json(cls, d, sdfg=None): b64string = d["pickle"] byte_repr = base64.b64decode(b64string) return pickle.loads(byte_repr) - else: - return d + + return d class PickledDataclassProperty(PickledProperty, dace.properties.DataclassProperty):