Lennart
02/28/2023, 11:29 AMpath=os.getcwd() + "/flows
and
entrypoint="flow.py:test_flow
The test flow runs the following command:
shell_run_command(
command="python3 src/task.py", return_all=True
)
The project structure is as follows:
project
- flows
-- depolyments.py
-- flow.py
- src
-- task.py
I run the task runner from the project root with prefect agent start -p default-agent-pool
I applied the deployments and see them in the cloud and can start them from there.
The error I get is: can't open file /tmp/tmp6ohfe_wcprefect/src/task.py [Errno 2] No such file or directory
After exiting the process not even /tmp/tmp6ohfe_wcprefect
exists, but I dont know if this is because prefect tears it down.
Any help regarding this would be very appreciated. I hope i provided enough information to help with this. If not, let me know.