1. Microsoft. (2023). azureml.core.run.Run class. Microsoft Learn. Retrieved from https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.run.run?view=azure-ml-py#azureml-core-run-run-wait-for-completion.
Reference Detail: The documentation for the waitforcompletion method states
"Wait for the run to complete. This function returns the status object after the wait." The showoutput parameter is described as: "Indicates whether to show the run output on sys.stdout." This directly supports option B.
2. Microsoft. (2023). Create and run machine learning pipelines with Azure Machine Learning SDK. Microsoft Learn. Retrieved from https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-machine-learning-pipelines.
Reference Detail: In the "Submit the pipeline" section
the example code demonstrates the pattern of submitting a pipeline and then calling pipelinerun.waitforcompletion(showoutput=True) to monitor the execution.
3. Microsoft. (2023). azureml.pipeline.core.PipelineRun class. Microsoft Learn. Retrieved from https://learn.microsoft.com/en-us/python/api/azureml-pipeline-core/azureml.pipeline.core.pipelinerun?view=azure-ml-py.
Reference Detail: This documentation confirms that PipelineRun inherits from azureml.core.Run
and therefore possesses the waitforcompletion
getmetrics
and getstatus methods.