googleapis / googleapis/google-cloud-python

Adding type hints so static analyzers like mypy can work with google.cloud.storage

Aperta
#15,987 9 commenti 112 reazioni 1 assegnatario Rivendicata da @nidhiii-27 Vedi su GitHub
api: storage priority: p3 type: feature request
Lingua principale
Python
Stelle
5.4k
Fork
1.8k
Merge medio
3g 4h
PR unite (30g)
122

Descrizione

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
Tools like mypy can use type hints to run static analysis on your code to find bugs in incorrect type usage.
**Describe the solution you'd like**
Mypy requires type hints to be exported by the library, either as part of the library and exported per [PEP 484](https://www.python.org/dev/peps/pep-0484/), or as a separate stubs library per [PEP 561](https://www.python.org/dev/peps/pep-0561/).
**Describe alternatives you've considered**
Currently we're ignoring all typing information for this library.
**Additional context**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.