Azure / Azure/MachineLearningNotebooks

DockerBuildContext.from_local_directory is using the incorrect variable for the storage account url

Offen
#1,828 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
4.4k
Forks
2.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'd been trying to create an environment using a local directory but I kept running into the following error:

```
ValueError: Invalid URL: https:///subscriptions//resourceGroups//providers/Microsoft.Storage/storageAccounts/
```

On further inspection, I noticed that in the `from_local_directory` function, the incorrect variable is probably being passed to the `account_url` argument of the `BlobServiceClient` constructor. I suppose a storage account URL needs to be constructed using the storage account name and endpoint. However, the `storage_account_full` variable, is being passed to it instead.

**azureml-core version: 1.45.0.post2**

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.