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 Runrun = Run.get_context()ws = run.experiment.workspace
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