Hello, I am new to Prefect. I scheduled a flow on prefect cloud. the flow should end up generating an excel report and saving it locally but I never see it. The flow runs successfully, and the timing looks right to generate the file. What I did find was an encoded blob file in my .prefect/storage folder.. is the how my file gets saved?? when I run the flow locally on Orion it outputs the report where I specify.
✅ 1
k
Khuyen Tran
08/11/2022, 8:19 PM
Are you running your flow through a deployment?
a
Angel Acosta
08/11/2022, 8:46 PM
yes I have set up a deployment to run the flow and was able set up a work-queue and agent. I trigger the flow from the UI and it runs fine. in the deployment I have storage set to a local file system with a basepath set. do I need to reference that block in my code?
k
Khuyen Tran
08/11/2022, 8:50 PM
By default, Prefect saves the output of your flow in a temporary local file system. For now, you will need to specify the path to be absolute in order to save the file in the local directory.
I will raise an issue for this and see if we can find a better solution for this
a
Angel Acosta
08/11/2022, 9:01 PM
Ok I will give that a shot, thank you for the help I do appreciate it!
k
Khuyen Tran
08/11/2022, 9:13 PM
I just raised an issue. We are actively looking for the ways to make this less confusing. Thanks for sharing your source of confusion
🙌 1
a
Angel Acosta
08/12/2022, 2:07 PM
Just wanted to give an update that the solution you provided worked like a charm. Thank you! I look forward to learning more about Prefect and integrating it as a business solution.