gapic-generator-python
gapic-generator-python copied to clipboard
Add a stronger type hint for `credentials` parameter in base rest transport
The credentials parameter in base rest transport has a type hint set to Any to support async and sync credential types in the parent rest transport classes. However, we should have a stronger type here such as an abstract base credentials class leveraged by sync and async credential classes.