googleapis / googleapis/google-cloud-python

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

未关闭
#15,987 9 条评论 112 个 reaction 已指派 1 人 已被 @nidhiii-27 认领 在 GitHub 查看
api: storage priority: p3 type: feature request
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。