gapic-generator-python icon indicating copy to clipboard operation
gapic-generator-python copied to clipboard

update the default type of credentials for async rest constructor

Open ohmayr opened this issue 1 year ago • 0 comments

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

ohmayr avatar Sep 04 '24 19:09 ohmayr