Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add conditional logic in `_compat.py.j2` to import static code from google-api-core

オープン
#17,884 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
tooling

調査の方向性

まずジェネレーター・テンプレート _compat.py.j2 を読み、移動対象となっている静的コードを特定します。次に、google-api-core がそのコードをどのように公開しているか、またジェネレーターが条件付きインポートをどのように処理しているかを確認します。テンプレートが利用可能な場合は google-api-core の実装を使用し、利用できない場合はフォールバックを維持していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

As part of refactoring the generator we are moving static code within templates to _compat.py.j2 and google-api-core. Add conditional logic to check if this static code exists in google-api-core and use it from there, if not then use the fallback implementation within the file.

主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
2日 18時間
マージ済み PR(30日)
146

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-cloud-python のほかの issue

googleapis/google-cloud-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。