https://prefect.io logo
Title
h

Ha Pham

02/02/2023, 5:02 PM
Hi, is there any way to make Prefect ignore certain folders when it starts to download flow code? In local development, I have some temp folder to store data inside the project, so when I run the flow, prefect will also "download" those data, which is not what I want
s

Stéphan Taljaard

02/02/2023, 5:05 PM
Do you mean like you have a local dev folder, then when you create a deployment (I assume using a remote storage block), it uploads everything, and then the agent of course also downloads everything when it needs to run the flow?
h

Ha Pham

02/02/2023, 5:11 PM
no I'm just developing everything locally and run the flow locally to test. I noticed that the first thing it does is to copy the whole folder to the /tmp folder