bug: update the internal logic in resolve_feature_flags

Aberta
#18,214 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@chalmerlowe já está trabalhando nisso.

Desde 25/8/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
Python
Estrelas
5.4k
Forks
1.8k
Merge médio
2d 7h
PRs com merge (30d)
173

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de googleapis/google-cloud-python

Todas as issues de googleapis/google-cloud-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.