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

Aberta
#18,657 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
30/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
api

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

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.