googleapis / googleapis/google-cloud-python

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

Open
#15,548 1 comment 0 reactions 1 assignee Claimed by @vchudnov-g View on GitHub
priority: p2 type: cleanup
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.