bug: update the internal logic in resolve_feature_flags

Offen
#18,214 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@chalmerlowe arbeitet bereits daran.

Seit 25.8.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

type: bug
Determine this is the right repository
  • 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

Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
2 T. 7 Std.
Gemergte PRs (30 T.)
173

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleapis/google-cloud-python

Alle Issues in googleapis/google-cloud-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.