MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

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

Open friggog opened this issue 1 year ago • 0 comments

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

friggog avatar Nov 15 '24 09:11 friggog