Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#1,828 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
azure, python

研究方向

從 DockerBuildContext.from_local_directory 開始,檢查 BlobServiceClient 建構函式如何接收其 account_url,尤其是 storage_account_full 變數以及儲存體帳戶名稱和端點。重現本機目錄環境的建立,並確認產生的帳戶 URL 有效,而不是產生所示的 Invalid URL 錯誤。

由索引模型根據 Issue 內容生成。

描述

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/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.Storage/storageAccounts/<storage_account_name>

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

主要語言
Jupyter Notebook
星號
4.4k
分支
2.6k
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Azure/MachineLearningNotebooks 的其他 Issue

查看 Azure/MachineLearningNotebooks 的全部 Issue

相似的 Issue

更多 Cloud Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。