feathr-ai / feathr-ai/feathr

Samples should use a single credential

Đang mở
#547 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Scala
Star
1.9k
Fork
247
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.