Azure / Azure/MachineLearningNotebooks

PipelineRun.getSteps returns list of Step objects, not StepRun

未关闭
#1,933 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
4.4k
派生
2.6k
PR 合并指标
30 天内没有已合并 PR

描述

- **Package Name**: azureml-sdk[notebooks]
- **Package Version**: 1.52.0
- **Operating System**: Ubuntu 20.04.4 LTS
- **Python Version**: 3.9.5

**Describe the bug**
When using function getSteps() of the class azureml.pipeline.core.PipelineRun, the returned object is a list of Step objects, not StepRun objects as described in the documentation.

**To Reproduce**
Steps to reproduce the behavior:
`pipe_run = PipelineRun(experiment=exper, run_id=pipeline_runs[0].get_details()['runId'])
step_run = pipe_run.find_step_run('cold_start_handling_knn_step')[0]
step_run.get_output_data('recommendations_all')`

**Expected behavior**
I expect to get a list of StepRun objects from the function find_step_run, but get a list of Run objects. Therefore, I cannot get the output using the get_outputs or get_output_data functions as those are only available for the StepRun objects.

**Screenshots**
![image](https://github.com/Azure/MachineLearningNotebooks/assets/123360066/e9d5322d-ac77-435c-a853-5e8d19023b40)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。