Incorrect type hint for azure.ai.ml.sweep.Choice
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- azure, python
- Domain
- machine-learning
Research direction
Search the Azure ML SDK definition of azure.ai.ml.sweep.Choice and inspect the values type hint. Replace the invariant list annotation with the requested sequence annotation, then verify that a list[str] value no longer produces a type error using the project's available type-checking or test workflow.
Written by the indexing model from the issue text.
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
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/MachineLearningNotebooks
-
duplicates Open
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Azure/MachineLearningNotebooks#1960 ·
-
machine Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
Azure/MachineLearningNotebooks#1987 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/MachineLearningNotebooks#1985 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Azure/MachineLearningNotebooks#1981 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Azure/MachineLearningNotebooks#1979 · 2 comments ·
All issues in Azure/MachineLearningNotebooks
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vllm-project/vllm#57974 · 4 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
torchgeo/torchgeo-bench#400 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
open-compass/VLMEvalKit#1698 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100