Run a python script via Azure Batch task (on ADF) & pass parameters

HERVOUET Christophe (External) 126 Reputation points
2021-09-15T17:01:33.173+00:00

Hi

I solicitate please your help regarding this use case :
-Run a python script via Azure Batch task (on ADF)
-Pass a pipeline parameter to the python script

132474-image.png

  • I created my parameter but how please get it in the python script ?
  • What are the steps to follow , please ?
  • All this will serve the CICD

Best regards

Christophe

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
301 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,525 questions
0 comments No comments
{count} votes

Accepted answer
  1. HERVOUET Christophe (External) 126 Reputation points
    2021-09-16T12:32:54.19+00:00

    I Found the solution

    add dynamic expression on command --> @markus.bohland@hotmail.de ('python main2.py',' ', pipeline().parameters.param1)


0 additional answers

Sort by: Most helpful