googleapis / googleapis/google-cloud-python

Add support for `default_host` in `OperationsRestAsyncTransport`

未关闭
#15,046 1 条评论 0 个 reaction 已指派 1 人 已被 @ohmayr 认领 在 GitHub 查看
type: cleanup
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

Support for `default_host` is not yet supported in `OperationsRestAsyncTransport` which was added in https://github.com/googleapis/python-api-core/pull/700.

The reason that it was not included in googleapis/python-api-core#700 is because it is not yet supported in `google-auth`. `default_host` exists [here](https://github.com/googleapis/google-auth-library-python/blob/63f657174c603c077af3bbf7580b75b5f3b4943e/google/auth/transport/requests.py#L378-L380) in [class AuthorizedSession](https://github.com/googleapis/google-auth-library-python/blob/main/google/auth/transport/requests.py#L296) but there is no `default_host` in the async version [here in AsyncAuthorizedSession](https://github.com/googleapis/google-auth-library-python/blob/main/google/auth/aio/transport/sessions.py#L78)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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