googleapis / googleapis/google-cloud-python

bug: update the internal logic in resolve_feature_flags

オープン
#18,214 コメント 0 件 リアクション 0 件 担当者 1 名 @chalmerlowe が担当を希望しています GitHub で見る
type: bug
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

### Determine this is the right repository

- [x] I determined this is the correct repository in which to report this bug.

### Summary of the issue

Expand upon the logic in the Feature Gating LLD (internal doc) and the current `resolve_feature_flags()` implementation to better handle nuances between how opentelemetry (OTEL) handles the value `None` and how Python handles the value `None`.

Namely, OTEL tends to use `None` in functions such as `get_tracer()` to mean: use the default provider, whereas to a Pythonista we might interpret `None` to mean don't use a provider, don't do anything, leave tracing disabled.

This conflict should be resolved in the LLD and a future PR.

### API client name and version

_No response_

### Reproduction steps: code

### Reproduction steps: supporting files

### Reproduction steps: actual results

### Reproduction steps: expected results

_No response_

### OS & version + platform

_No response_

### Python environment

_No response_

### Python dependencies

_No response_

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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