When I used fn.apply(mlrun.mount_v3io())
in MLRun function, it worked correctly and I can access to files in mount persistent storage.
import mlrun
...
fn = mlrun.import_function("test-function.py")
# use mount_v3io() for iguazio volumes
fn.apply(mlrun.mount_v3io())
The issue was, when I used the fn.apply(mlrun.mount_v3io())
in MLRun workflow, I got error message about non exist file (the mount did not work):
Error 1 Metadata file
'rpd.pkl' could not be found v3io://protected/iron/
Did you solve the similar issue in MLRun workflow?