Changes to python code node in v1.120+

Hello @Marc_Skipp

I think it’s due to the Python (Native - beta)

This feature is in beta and is subject to change. As it becomes stable, n8n will roll it out progressively to n8n cloud users during 2025

I’m not sure if it has already been rolled out to n8n Cloud, but since you’ve started getting these errors, it’s probably using the Python Native runner.