Azure / Azure/MachineLearningNotebooks
PipelineRun.getSteps returns list of Step objects, not StepRun
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 4.4k
- Forks
- 2.6k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
- **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**

Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza con la reproducción reportada de azureml-sdk[notebooks] 1.52.0 en Ubuntu y ejecuta el fragmento de código de PipelineRun y find_step_run del issue. Comprueba los tipos de objeto devueltos realmente frente a la API documentada y verifica si get_output_data está disponible. Se considera terminado cuando el tipo de retorno documentado y los métodos de salida utilizables coinciden.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, jupyter-notebook, python
- Área
- api, machine-learning
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 30/100