googleapis / googleapis/google-cloud-python

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

Abierto
#16,200 1 comentario 0 reacciones 0 asignados Ver en GitHub
priority: p2 type: bug
Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
122

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.