Azure / Azure/azure-sdk-for-python
azure-ai-inference needs typing updates for pyright version 1.1.405
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g 2h
- PR unite (30g)
- 213
Descrizione
**ACTION NEEDED:** This version of pyright will be merged on **2026-01-12**. The build will begin to fail for this library if errors are not fixed.
**Library name:** azure-ai-inference
**Pyright version:** 1.1.405
**Pyright Build:** [Link to build (2025-11-08)](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5550801&view=logs&j=e5b925a9-9650-5321-24fd-5d9499fe02b8&t=d243185e-b901-5eef-29fe-f7943e030451)
**How to fix:** Run the `next-pyright` tox command at the library package-level and resolve the typing errors.
1) `../azure-ai-inference>pip install "tox<5"`
2) `../azure-ai-inference>tox run -e next-pyright -c ../../../eng/tox/tox.ini --root .`
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 della libreria azure-ai-inference ed esegui il comando documentato `tox run -e next-pyright -c ../../../eng/tox/tox.ini --root .` dopo aver installato `tox<5`. Esamina gli errori di tipizzazione segnalati e la Typing Guide per il contesto. Il lavoro è completato quando il pacchetto supera il controllo next-pyright per la versione 1.1.405.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, python
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100