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