After I updated my environment to v2.3.5 from v1.123 (most likely, didn’t notice the exact version), all my Python code nodes that contained Pyodide code, are not showing previous code at all. I was aware about the breaking change but in my understanding I should be able to just modify the code after update to follow the change. However now I can’t see code in any of my nodes. After I select Python or JS, it just resets it to plain example.
This is just an example of a node, I have around dozens of them across many workflows
Share the output returned by the last node
Problem in node ‘Combine preferences data‘
Could not get parameter
By that output I suppose that previous code that was using data retrieving from previous node with _input.all() still exists somewhere but is not visible for some reason.
In v2.x, Python/JS nodes were rewritten, so old code isn’t shown in the editor, but it’s still in the workflow JSON
Try this Export your workflow JSON. And Find your node’s code field your old code is there. Copy it into the new node and update _input.all() → items or items[0].json.
Your code isn’t at lost it just needs manual migration
Thanks a lot for bringing the problem to our attention. That was definitely not intended like that. Sorry for the problems it caused. A PR has already opened to fix the issue: