Azure / Azure/azure-sdk-for-python
azure-mgmt-iothub needs typing updates for mypy version 2.1.0
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g 2h
- PR unite (30g)
- 213
Descrizione
**ACTION NEEDED:** This version of mypy will be merged on **2026-10-12**. The build will begin to fail for this library if errors are not fixed.
**Library name:** azure-mgmt-iothub
**Mypy version:** 2.1.0
**Mypy Build:** [Link to build (2026-07-25)](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6616875&view=logs&j=e5b925a9-9650-5321-24fd-5d9499fe02b8&t=c4b2a078-69a7-55a2-d776-67715c71590f)
**How to fix:** Run the `next-mypy` azpysdk command at the library package-level and resolve the typing errors.
1) `/mnt/vss/_work/1/s>pip install -e ./eng/tools/azure-sdk-tools`
2) `../azure-mgmt-iothub>azpysdk next-mypy --isolate .`
See the [Typing Guide](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/static_type_checking.md#run-mypy) for more information.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia nel pacchetto azure-mgmt-iothub e leggi la guida al controllo statico dei tipi collegata nell'issue. Installa azure-sdk-tools, quindi esegui a livello di pacchetto il comando `azpysdk next-mypy --isolate .` specificato da `azd...` per individuare gli errori. Il lavoro è completato quando il pacchetto non presenta errori di tipizzazione con mypy 2.1.0 e supera il prossimo build.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, python
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100