googleapis / googleapis/google-cloud-python
update the default type of credentials for async rest constructor
Open
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
Assessment
This issue has not been assessed yet.