You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
friggog
changed the title
Incorrect type hints for Choice
Incorrect type hin0t for azure.ai.ml.sweep.Choice
Nov 15, 2024
friggog
changed the title
Incorrect type hin0t for azure.ai.ml.sweep.Choice
Incorrect type hint for azure.ai.ml.sweep.Choice
Nov 15, 2024
The definition of
azure.ai.ml.sweep.Choice
specifiesvalues: 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 withtyping.Sequence
in this contextThe text was updated successfully, but these errors were encountered: