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

Offen
#18,657 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
api

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

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.