[graph] only save input params

This commit is contained in:
Fabien Castan 2017-11-10 11:32:59 +01:00
parent 4372863a2c
commit 224cd935f9

View file

@ -667,7 +667,7 @@ class Node(BaseObject):
return self.graph.getDepth(self)
def toDict(self):
attributes = {k: v.getExportValue() for k, v in self._attributes.objects.items()}
attributes = {k: v.getExportValue() for k, v in self._attributes.objects.items() if v.isInput}
return {
'nodeType': self.nodeType,
'packageName': self.packageName,