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.52k stars 2.76k forks source link

azure.ai.ml.dsl.pipeline decorate should support identity argument #31351

Open gravesee opened 1 year ago

gravesee commented 1 year ago

Is your feature request related to a problem? Please describe. The PipelineJob python class and YAML schema supports an identity attribute, yet the dsl.pipeline decorator provides no way to pass this in.

Describe the solution you'd like It is unclear whether pipelines should be usable with UserIdentityConfiguration. We are using a compute cluster where user ACLs are used to authenticate to ADLS gen v2. We can submit single jobs with the identity argument just fine.

Describe alternatives you've considered We are currently setting the identity attribute on the PipelineJob instance directly. This seems like an anti-pattern.

Additional context Are pipeline jobs intended to be used with UserIdentityConfiguration? Or this this an anti-pattern?

xiangyan99 commented 1 year ago

Thanks for the feedback, we’ll investigate asap.

github-actions[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @simorenoh @gahl-levy @bambriz @azureml-github @Azure/azure-ml-sdk.