googleapis / googleapis/google-cloud-python

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

Đang mở
#15,548 1 bình luận 0 reaction 1 người được giao Được @vchudnov-g nhận Xem trên GitHub
priority: p2 type: cleanup
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.