https://prefect.io logo
#prefect-community
Title
# prefect-community
a

Alex Welch

05/21/2020, 6:56 PM
seems like a very basic question but i couldnt find it in the docs, where do I put my tasks so that prefect will pick them up?
👀 1
l

Laura Lorenz (she/her)

05/21/2020, 7:22 PM
Hi @Alex Welch! If I understand correctly you might be asking about where the flows need to go (such as that airflow dags need to go in the dags folder). You don’t need to put them anywhere special, when you run a flow from a script it uses the flow object in-memory, and if you register it (if you are using cloud or server), it is serialized into a flow storage — local storage in ~/.prefect is the default, but you can configure this with different types of storage (which you can read about here: https://docs.prefect.io/orchestration/execution/storage_options.html#local)
for example I keep a bunch of flows in my
~/Desktop/RandomFlows
, and for the ones I have registered (with the default local storage) I have a matching file in
~/.prefect/flows
a

Alex Welch

05/21/2020, 8:01 PM
thanks
that hepps
helps