jack
06/23/2022, 1:31 PMproject/
flow.py
scripts/
util.py
And in flow.py, there is this import statement:
from scripts.util import Util
Also in flow.py, using this storage:
with Flow('some-name', storage=S3(bucket='some-bucket')):
...
But when run from the cloud, it complains No module named "scripts.util"
Kevin Kho
06/23/2022, 1:35 PMjack
06/23/2022, 1:56 PMKevin Kho
06/23/2022, 1:57 PMflow.run_config = LocalRun(working_dir="/path/to/working-directory")
Or start the agent in the place that has access to thosejack
06/23/2022, 2:08 PMKevin Kho
06/23/2022, 2:14 PMjack
06/23/2022, 2:26 PMKevin Kho
06/23/2022, 2:29 PM