Azure / Azure/MachineLearningNotebooks

Incorrect type hint for azure.ai.ml.sweep.Choice

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

説明

The definition of `azure.ai.ml.sweep.Choice` specifies `values: List[float | str | dict] | None` but the list type is invariant.
Normal usage would be to pass `values: list[str]`, for example, which results in a type error.
`List` should be replaced with `typing.Sequence` in this context

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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