googleapis / googleapis/google-cloud-python

update the default type of credentials for async rest constructor

Open
#16,285 1 comment 0 reactions 1 assignee Claimed by @ohmayr View on GitHub
priority: p2 type: cleanup
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

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]`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.