Azure / Azure/MachineLearningNotebooks
Incorrect type hint for azure.ai.ml.sweep.Choice
Open
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.