azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

ADF Dataset Operations, how can we commit to develop/any branch using the Python library?

Open saulcruz opened this issue 8 years ago • 3 comments

As of now If I do datasets.create_or_update(...) the API publishes a dataset to the Data Factory itself, is there any way we can use the Python library to commit to a specific branch (GitHub) instead?

Azure data factory has GitHub integration and using the UI, you can either commit to your collaboration branch or to the Data Factory itself (publish or deployment) , if i run my python scripts, it will make all of these changes directly to the data factory itself, making it hard to source control every change.

image

saulcruz avatar Aug 20 '18 19:08 saulcruz

Hi @hvermis - are you able to provide any insights here? :)

annatisch avatar Aug 23 '18 23:08 annatisch

Our UI has a lot of custom code to support git interaction, you would have to mimic all that in order to use git from Python. technically you can serialize the objects into json files and store then into git, but you would have to implement branching, merging, creating folders, etc.

hvermis avatar Aug 28 '18 22:08 hvermis

got it, thanks

saulcruz avatar Aug 30 '18 15:08 saulcruz