Azure / MachineLearningNotebooks

Python notebooks with ML and deep learning examples with Azure Machine Learning Python SDK | Microsoft
https://docs.microsoft.com/azure/machine-learning/service/
MIT License
4k stars 2.49k forks source link

AttributeError: '_OfflineRun' object has no attribute 'experiment' #1945

Open Ioannis-Mykelos opened 8 months ago

Ioannis-Mykelos commented 8 months ago

I have the error:

AttributeError: '_OfflineRun' object has no attribute 'experiment' azureml-core==1.44.0

I want to get my secret from my keyvault and I am using the following code in my pipeline: from azureml.core import Run run = Run.get_context() ws = run.experiment.workspace