googleapis / googleapis/google-cloud-python

remove dead code: `try/import/except` for async rest dependencies

Aperta
#15,548 1 commento 0 reazioni 1 assegnatario Rivendicata da @vchudnov-g Vedi su GitHub
priority: p2 type: cleanup
Lingua principale
Python
Stelle
5.4k
Fork
1.8k
Merge medio
3g 4h
PR unite (30g)
122

Descrizione

`async_rest` has been an optional dependency., leading to installation of `google-auth[aiohttp] >= 2.35.0`. WBut now we unconditionally required `google_-auth >= 2.35.0`. We should determine whether we can get rid of the extra, and whether we can get rid of the `tr/import/except` pattern in multiple places that tests for the async REST dependencies.

This is motivated by a [PR conversation](https://github.com/googleapis/python-api-core/pull/877#discussion_r2771665845).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.