summaryrefslogtreecommitdiff
path: root/lib/functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/functions.py')
-rw-r--r--lib/functions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/functions.py b/lib/functions.py
index 78dfab8..86025dc 100644
--- a/lib/functions.py
+++ b/lib/functions.py
@@ -331,6 +331,8 @@ class SplitFunction(ModelFunction):
for k, v in data["child"].items():
self.child[k] = ModelFunction.from_json(v)
+ return self
+
def __repr__(self):
return f"SplitFunction<{self.value}, param_index={self.param_index}>"