async AuthorizedSession refresh should support async credential refresh method #901
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Recently I migrated from my custom async implementation to the beta implementation however I noticed two issues:
fix is making this call async: https://github.com/googleapis/google-auth-library-python/blob/main/google/auth/transport/_aiohttp_requests.py#L371
if sync needs to be supported it should do a check if the method is awaitable/a coroutine or not.
Environment details
google-auth
version: 2.2.1Steps to reproduce
The text was updated successfully, but these errors were encountered: