Oleksandr Manakov
Results caching for imported scripts
I’m using result caching in my Python script. When I run it from the Windmill UI, the cache works as expected. However, when I import the function from that script and use it in another Python script, the cache doesn’t work, and the function is recalculated every time. Please tell, how can I enable result caching in this case?
1 replies
Is it possible to import functions from workspace scripts inside Background runnables?
One (probably stupid) question - is it possible to import functions from workspace scripts inside Background runnables?
The same import works in other workspace script, but results an error when added to background runnable:
The import is as simple as:
from .temp import main as mmm
.
Both app and script are within the same user.7 replies