Azure / Azure/MachineLearningNotebooks
Incorrect type hint for azure.ai.ml.sweep.Choice
Abierto
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 4.4k
- Forks
- 2.6k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.