googleapis / googleapis/google-cloud-python

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

Offen
#15,548 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @vchudnov-g Auf GitHub ansehen
priority: p2 type: cleanup
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

`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).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.