googleapis / googleapis/google-cloud-python

Move async interfaces to public surface once integrated

Abierto
#15,221 10 comentarios 0 reacciones 0 asignados Ver en GitHub
priority: p2 type: feature request
Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
122

Descripción

Since there aren't any packages using this yet, it has been put in as _internal surface in googleapis/google-auth-library-python#612

Once this is being used, we should move to a public surface with this.

- `google.auth.transport._aiohttp_requests` -> `google.auth.transport.aiohttp_requests`
- `google.auth._jwt_async` -> `google.auth.jwt_async`
- `google.auth._credentials_async` -> `google.auth.credentials_async`
- `google.oauth2._service_account_async` -> `google.oauth2.service_account_async`
- `google.oauth2._credentials_async` -> `google.oauth2.credentials_async`
- `google.oauth2._id_token_async` -> `google.oauth2.id_token_async`

Also, `google/auth/__init__.py` should be updated with the following:
```
from google.auth._default_async import default_async

__all__ = ["default", "load_credentials_from_file", "default_async"]
```

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.