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.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!