How to stop Python Script configuration window from running code automatically?

Hello everyone,

I like the updated Python script node (KNIME v5.2) a lot. However, they do run my code automatically whenever I open the node configuration windows - which I do not want.

Every time I open the configuration, my log files (which I have Python print for troubleshooting) get overwritten. I don’t think that that was the case in previous versions.

How can I switch this functionality off?

Many thanks!