Icon

Pickling_​Across_​Nodes

Pickling Across Nodes

Python objects can be pickled then sent as String output from a node to be read and later unpickled in another Python node.

Pickling of a custom class requires that the class be defined in an importable module. This is both highly recommended and straightforward to do. An alternative option is depicted in this workflow when that is simply not an option.

Serialize Python ObjectandPut It Into OutputDe-serialize Python ObjectCustom ClassesWorkaroundUse Custom Class AgainPython Source Python Script (1⇒1) Python Source Python Script (1⇒1) Serialize Python ObjectandPut It Into OutputDe-serialize Python ObjectCustom ClassesWorkaroundUse Custom Class AgainPython Source Python Script (1⇒1) Python Source Python Script (1⇒1)

Nodes

Extensions

Links