1

Can someone help me with executing python function from azure data factory. I have stored python function in blob and i'm trying to trigger the same. However i'm not able to do it. Please assist.

Second, Can i parameterize python function call from ADF?

Nomad18
  • 131
  • 1
  • 3
  • 8

1 Answers1

1

You could get an idea of Azure Function Activity in ADF which allows you to run Azure Functions in a Data Factory pipeline.

And you could duplicate your python function into Python Azure Function.

Also,it want to pass parameters into python function,you could set them into body properties.

enter image description here

The Azure Function Activity supports routing. For example, if your app uses the following routing - https://functionAPP.azurewebsites.net/api/functionName/{value}?code=<secret> - then the functionName is functionName/{value}, which you can parameterize to provide the desired functionName at runtime.

Jay Gong
  • 23,163
  • 2
  • 27
  • 32
  • Thanks for the reply @JayGong. I'm not working on web api, my requirement is to pass parameter from adf and call the python function stored in blob. Is this possible ? or is there any alternative? – Nomad18 Mar 21 '19 at 11:27