googleapis / googleapis/google-cloud-python

Add support for `default_host` in `OperationsRestAsyncTransport`

Aberta
#15,046 1 comentário 0 reações 1 responsável Reivindicada por @ohmayr Ver no GitHub
type: cleanup
Linguagem predominante
Python
Estrelas
5.4k
Forks
1.8k
Merge médio
2d 23h
PRs com merge (30d)
123

Descrição

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)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.