Remove conditionals related to google-api-core versions, once we no longer support older versions.

未關閉
#18,657 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
30/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
python
領域
api

研究方向

The issue names no files. Start by searching the GAPIC-generated Python client code for checks on the google-api-core version, such as feature-detection branches for versions 2.35.0 and 2.42.0. Maintainers should first confirm the support-drop timeline, since the change should wait until then. Done means those version-gated branches are removed while the supported versions still work and the tests pass.

由索引模型根據 Issue 內容生成。

描述

type: cleanup
Determine this is the right repository
  • I determined this is the correct repository in which to report this bug.
Summary of the issue

There are conditional checks OR situations in GAPIC generated code that depend on features that are not available when

  • google-api-core < 2.42.0.
  • google-api-core < 2.35.0

Once we drop support, those conditionals should be updated to remove tech debt.

API client name and version

No response

Reproduction steps: code
Reproduction steps: supporting files
Reproduction steps: actual results
Reproduction steps: expected results
OS & version + platform

No response

Python environment

No response

Python dependencies

No response

Additional context

No response

主要語言
Python
星號
5.4k
分支
1.8k
平均合併
2 天 7 小時
30 天內合併 PR
173

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

googleapis/google-cloud-python 的其他 Issue

查看 googleapis/google-cloud-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。