Azure / MachineLearningNotebooks

Python notebooks with ML and deep learning examples with Azure Machine Learning Python SDK | Microsoft
https://docs.microsoft.com/azure/machine-learning/service/
MIT License
4k stars 2.49k forks source link

PublishedPipeline does not contain DateUpdated information #1488

Open felixcollins opened 3 years ago

felixcollins commented 3 years ago

If one wishes to retrieve the latest published pipeline with a given name how can this be done? When publishing, one could set the current date-time in the Version attribute, but surely this information is already recorded?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

shbijlan commented 3 years ago

You would have to retrieve the published pipeline by id. You can check the latest published pipeline through the portal under pipeline endpoints.

felixcollins commented 3 years ago

Sorry, I wasn't very clear. I meant using the python API.

likebupt commented 2 years ago

Hi, @felixcollins , Pipeline endpoint may work for your case. You could refer here [https://docs.microsoft.com/en-us/python/api/azureml-pipeline-core/azureml.pipeline.core.pipelineendpoint?view=azure-ml-py]

Pipeline endpoint can manage multiple published pipelines, and you can set a default version for an endpoint.