hi in my prefect flow running on prefect cloud a...
# prefect-community
s
hi in my prefect flow running on prefect cloud am setting the current directory as the directory where my prefect flow available , but the other python modules which is called from the prefect flow is in different directory , this is actually throwing error when called from prefect cloud , error says that particular python module not found since it is another directory if I copy my prefect flow file to the pth where python modules available then no error so is there anyway I can keep my python modules in one folder and flow in different folder
k
You can if using a LocalAgent. Are you using a container based agent?
s
local agent only
k
You can check the last example here to specify a working dir
s
so I am setting the path where flow exist as current directory
LocalRun(workingDir=“”)
k
You can set the working directory to the module directory right?