feathr-ai / feathr-ai/feathr

Samples should use a single credential

オープン
#547 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Scala
スター
1.9k
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

説明

In all the Jupyter notebook samples, there's a line:

client = FeathrClient(config_path=tmp.name)

However, if the users have configured credential in the previous line, like this:

credential = DefaultAzureCredential(exclude_interactive_browser_credential=False)

this `credential` variable isn't passed to `FeathrClient`, which causes trouble because FeathrClient will initialize a credential again which might be different.

We should change all the lines to below to use the same credential across the sample notebook.

client = FeathrClient(config_path=tmp.name, credential=credential)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。