https://prefect.io logo
Title
y

YSF

03/14/2023, 7:34 PM
Hi, if I'm running a deployment locally and I want to change the working directory for where it runs how do I do that? I don't see that in the examples and the API reference in any obvious way at least. It looks like when I run without a storage block and I do things like create folders, download data, it seems to be landing here:
...AppData\Local\Temp\tmput9_b5yuprefect
y

YSF

03/14/2023, 7:52 PM
Ah I see thank you. Yeah I was checking Storage tutorials and google returns this:
although it doesn't seem to be working, I ran prefect config set, and double checked prefect config view and can see my updated setting. But when I do
print(os.getcwd())
within my flow it still shows me something in the Temp directory
r

redsquare

03/14/2023, 8:04 PM
is this a deployed flow running
so you have an agent locally that is running the deployed flow