Share via

Azure Data Factory API Operations using Python in GitHub

Jatinder Luthra 130 Reputation points
2023-07-21T19:50:20.4933333+00:00

Hello folks,

I am leveraging ADF APIs to perform different operations including creating/updating datasets, dataflows & operations.

In UI, I work in Git Mode to commit the changes in my github. While using APIs in python, its creating the data factory objects in Live Mode only.

How can I call the ADF APIs in python to commit changes in specific branch of github directly?

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


Answer accepted by question author

ShaikMaheer-MSFT 38,631 Reputation points Microsoft Employee Moderator
2023-07-24T06:31:39.2933333+00:00

Hi Jatinder Luthra,

Thank you for posting query in Microsoft Q&A Platform.

REST APIs will always directly deploy changes to Live mode only. They won't deploy to git.

So, kindly consider using UI to create your resources. If some reason its prod environment, you don't have access to do via UI then consider implementing same in DEV ADF using UI and then have CI/CD created to push changes to PROD.

I forwarded this feedback to internal team. I would also encourage you to have feedback item created for this using below link. Product team closely monitor all feedbacks and consider them future releases.

https://feedback.azure.com/d365community/forum/1219ec2d-6c26-ec11-b6e6-000d3a4f032c

Hope this helps. Please let me know if any further queries.


Please consider hitting Accept Answer button. Accepted answers help community as well.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.