googleapis / googleapis/google-cloud-python

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

Đang mở
#16,200 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p2 type: bug
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.