Azure / Azure/MachineLearningNotebooks
PipelineRun.getSteps returns list of Step objects, not StepRun
- Langage dominant
- Jupyter Notebook
- Étoiles
- 4.4k
- Forks
- 2.6k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
- **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**

Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire le problème signalé avec azureml-sdk[notebooks] 1.52.0 sur Ubuntu et exécutez l’extrait PipelineRun et find_step_run de l’issue. Vérifiez les types d’objets effectivement renvoyés par rapport à l’API documentée et vérifiez si get_output_data est disponible. Le travail est terminé lorsque le type de retour documenté et les méthodes de sortie utilisables correspondent.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- azure, jupyter-notebook, python
- Domaine
- api, machine-learning
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100