@gcincilla I once created this approach where a code file is being created from inside a node and then be stored in a sub-path. Not very elegant but it does work.
@Kaegan well, well. I came up with this ‘solution’ though it is not a very nice one. The component would write .PY file(s) with functions dynamically to a local folder of the workflow.
The code itself would be written into a string variablen and then be exported to a local file so all logic can be stored within the component … in a way … There also is a init file to mark the module. Adapting from this workflow with individual .PY files .
[image]
The created module with init file and .PY file …