Hello, I am new to Prefect. I scheduled a flow on ...
# data-tricks-and-tips
a
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
Are you running your flow through a deployment?
a
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
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
Ok I will give that a shot, thank you for the help I do appreciate it!
k
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
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.