Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k stars 2.83k forks source link

Example using azure-synapse library to create new pipeline run #29899

Closed OrrinEdenfield closed 1 year ago

OrrinEdenfield commented 1 year ago

Is your feature request related to a problem? Please describe. Documentation does not provide guidance on how to use Python SDK to initiate a pipeline run in Synapse Analytics workspace?

Describe the solution you'd like Is it possible to provide an example of how Python SDK can be used to initiate a pipeline run in Synapse Analytics workspace?

Describe alternatives you've considered I've been looking at the code in /main/sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/operations/_pipeline_operations.py and /main/sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/operations/_pipeline_run_operations.py and it is not clear which will give me the ability to kick off the run/execution of an existing pipeline. It's also not clear how I authenticate and provide the details like the workspace where this pipeline is stored.

Additional context Customers will appreciate being able to orchestrate Synapse Pipelines via Python SDK.

xiangyan99 commented 1 year ago

Thanks for reaching out. Please check https://gist.github.com/xiangyan99/799b7f9d07a74ea895ae069838ae4410 and let us know if it does not work.

github-actions[bot] commented 1 year ago

Hi @OrrinEdenfield. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

OrrinEdenfield commented 1 year ago

Yes, this can be closed.