Hello,
I'm having some issues with saving to the gallery any workflow that is using the python tool, if I decide to validate it before saving.
I always have my code split into multiple jupyter cells. When I try to save the workflows to my private gallery I run into the following errors
It looks like to me that the result of previous cells execution is not cached. If I move all the code to the first cell, the error disappears.
Is this the expected behaviour?
Is there a way for me to keep code split into cells, but be able to validate & save successfully to the gallery?
_In attachment a test workflow as I cannot share my original ones.
Thanks for your help
@fed_ ,
I was able to reproduce the behavior in both interactive and production mode.
But I was able to publish without validation and it worked fine.
Basically the validation phase is a run with no records. To simulate that, I added a filter with a condition 1=0 before the python tool and I had the same error.
You can publish without validate as a workaround, and then test to see if your code could manage a 0 record input.
User | Count |
---|---|
108 | |
89 | |
78 | |
54 | |
40 |