googleapis / googleapis/google-cloud-python

Move async interfaces to public surface once integrated

未关闭
#15,221 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p2 type: feature request
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

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"]
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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