Azure / Azure/MachineLearningNotebooks
DockerBuildContext.from_local_directory is using the incorrect variable for the storage account url
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 4.4k
- Forks
- 2.6k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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**
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza en DockerBuildContext.from_local_directory e inspecciona cómo el constructor de BlobServiceClient recibe su account_url, especialmente la variable storage_account_full y el nombre y el endpoint de la cuenta de almacenamiento. Reproduce la creación del entorno de un directorio local y confirma que la URL de cuenta resultante es válida en lugar de producir el error Invalid URL mostrado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, python
- Área
- cloud, machine-learning
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 35/100