Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[feature]: Generating type hints for API

Aperta
#568 6 commenti 21 reazioni 0 assegnatari Vedi su GitHub

@manisha1997 ci sta già lavorando.

Dal 27/5/2024.

  • #795 di @manisha1997 — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Start by reviewing the library's existing API code and the linked mypy guidance for Python 2.7 comment syntax and .pyi stubs. Determine which approach covers the public API, then run a type checker against library usage; done means the supported API has usable type information and the reported missing-type warnings are addressed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

status: work in progress type: twilio enhancement
Issue Summary

Currently the library doesn't have inline type hints or type stubs so we can't type check library usage

Since this library supports python 2.7 the inline type hints would need to follow the comment syntax

Another option is to package separate type stubs (.pyi files) alongside the existing code

Steps to Reproduce

Run your type checker of choice and see warnings about missing types / type stubs

Lingua principale
Python
Stelle
2.1k
Fork
814
Merge medio
15h 9m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di twilio/twilio-python

Tutte le issue di twilio/twilio-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.