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

How to list all jobs for a compute target in AzureML SDK v2? #31192

Open letmaik opened 1 year ago

letmaik commented 1 year ago

I'm trying to list all jobs for a compute target in AzureML SDK v2 but I can't see how to do it. In SDK v1 the code would look like this:

from azureml.core import Workspace, ComputeTarget, Run
workspace = Workspace.from_config()
compute = ComputeTarget(workspace, "name")
runs = Run.list_by_compute(compute=compute)

If it's not possible, will support be added to reach parity with v1?

YalinLi0312 commented 1 year ago

Hi @letmaik , thanks for your contact! We'll investigate asap! cc: @azureml-github

github-actions[bot] commented 2 months ago

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