googleapis / googleapis/google-cloud-python

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

Offen
#15,987 9 Kommentare 112 Reaktionen 1 zugewiesene Person Beansprucht von @nidhiii-27 Auf GitHub ansehen
api: storage priority: p3 type: feature request
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

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**

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.