Skip to content
Advertisement

Tag: prefect

Changing task_runner in prefect deployment

Is there a way to change the task_runner within a prefect deployment? I would like to have possibility to have for a single flow a deployment with say ConcurrentTaskRunner and DaskTaskRunner (local or remote). The only way I have found so far is to create within deployment: And on the flow level something like: This works as in normal run

Looping tasks in Prefect

I want to loop over tasks, again and again, until reaching a certain condition before continuing the rest of the workflow. What I have so far is this: But as far as I understand this does not work for multiple tasks. Is there a way to come back further and loop on several tasks at a time ? Answer The

Advertisement