Hi team, with prefect would it be possible to sepa...
# ask-community
t
Hi team, with prefect would it be possible to separate python versions and dependencies by tasks and still build a dag with these tasks?
j
Hey, it is possible but you can't do this at the
@task
level specifically. What you're looking to do is create a flow of flows, using
run_deployment
. You can think of the main flow as your full dag. Each subflow is created by
run_deployment
which will run a deployment and gives you an opportunity to define different python version, dependencies etc.
t
@Jake Kaplan Thanks a lot. Okay that's great news. Could you give me a simple folder structure example that contain multiple flows with different Dockerfile or requirements.txt? Also the
flow of flows
you mean this one in the doc?