googleapis / googleapis/google-cloud-python

update the default type of credentials for async rest constructor

Offen
#16,285 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @ohmayr Auf GitHub ansehen
priority: p2 type: cleanup
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

The default type of credentials within `rest_asyncio.py.j2` needs to be updated to `google.auth.aio.credentials.Credentials` once we leverage `google.auth.aio` within the template.

Consequently, the default type of the base rest class needs to be updated to either `Object`, `Any` or `Union[google.auth.aio.credentials.Credentials, google.auth.credentials.Credentials]`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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