googleapis / googleapis/google-cloud-python

Add py.typed marker to google-iam-v1 for PEP 561 compliance

オープン
#16,200 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p2 type: bug
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

The google-iam-v1 package currently lacks a py.typed marker file. Even though the library contains type hints, static analysis tools like mypy fail to recognize them, resulting in the following error for downstream consumers:

error: Skipping analyzing "google.iam.v1": module is installed, but missing library stubs or py.typed marker

Include an empty py.typed file in the root of the google/iam package and ensure it is included in the MANIFEST.in or package_data of the distribution. This will allow mypy to resolve types without requiring ignore_missing_imports = True.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。