https://prefect.io logo
Title
a

Aleksandr Liadov

01/17/2023, 4:40 PM
Hello, I didn’t find an answer, so I post my question here: Does it possible to specify
TaskRunner
while the deployment with
Deployment.build_from_flow
?
k

Kalise Richmond

01/17/2023, 6:47 PM
I believe you have to specify the TaskRunner inside the flow, not at the deployment level.
a

Aleksandr Liadov

01/18/2023, 8:54 AM
@Kalise Richmond yes sure, I know that I can do that inside flow 🙂 But at the deployment level it isn’t possible, is it? Imagine I want to have the same flow with 2 different deployments: one use
DaskTaskRunner
, and another one use
ConcurrentTaskRunner
how I suppose to do it?