Azure / Azure/MachineLearningNotebooks

PipelineRun.getSteps returns list of Step objects, not StepRun

オープン
#1,933 コメント 1 件 リアクション 0 件 担当者 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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Ubuntu 上で報告された azureml-sdk[notebooks] 1.52.0 の再現から始め、issue にある PipelineRun と find_step_run のスニペットを実行します。実際に返されるオブジェクト型をドキュメント化された API と照合し、get_output_data が利用可能か確認します。ドキュメント化された戻り値の型と使用可能な出力メソッドが一致すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, jupyter-notebook, python
領域
api, machine-learning
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。