https://prefect.io logo
Title
i

iñigo

07/26/2022, 2:27 PM
Hello, I have the 0.15.4 version of prefect. is ther a guide on how to run a pipeline in Azure Data Factory ADF from within a Prefect Flow?
1
t

Taylor Curran

07/26/2022, 2:48 PM
Hi I*ñigo* you can check out our Azure task library. I am not sure if it will work with such an early version of Prefect. https://docs.prefect.io/api/latest/tasks/azure.html#datafactorycreate
Though looking into the source code for the
DatafactoryCreate
task
may give you some code snippets you could incorporate into your flow if importing the task directly does not work.
i

iñigo

07/26/2022, 2:51 PM
Ok, At least wich version of prefect do you recomend me to be more updated? from the 0.15 version to the 1.0 version O'll need to update all of my flows, isn't it?
I have doubts in obtaining the AZure credentials about the Client Id and Secret.
t

Taylor Curran

07/26/2022, 2:56 PM
I would recommend upgrading to at least 1.0 for better documentation coverage. It may also be worth looking into 2.0 since we are out of 2.0 beta this week.
i

iñigo

07/26/2022, 2:59 PM
which could be the biggest change, from 0.15 to 1 or from 1.0 to 2.0¿
or even try form 0.15 to 2.0
n

Nate

07/26/2022, 3:13 PM
@iñigo if you're familiar with 0.15.4, then you should probably upgrade to
1.2.4
(the newest Prefect 1.0 version) upgrading to
prefect>=2.0b10
will require refactoring your code to adhere to new prefect 2.0 concepts
:gratitude-thank-you: 1