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

Add a stronger type hint for `credentials` parameter in base rest transport

Open ohmayr opened this issue 1 year ago • 0 comments

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.

ohmayr avatar Sep 17 '24 21:09 ohmayr