Azure / Azure/MachineLearningNotebooks

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

Open
#1,945 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.