googleapis / google-auth-library-python

Google Auth Python Library
https://googleapis.dev/python/google-auth/latest/
Apache License 2.0
771 stars 304 forks source link

DeprecationWarning: Inheritance class AuthorizedSession from ClientSession is discouraged #1422

Open parthea opened 8 months ago

parthea commented 8 months ago

See the build log here which contains the warning below.

google/auth/transport/_aiohttp_requests.py:200
  /tmpfs/src/github/google-auth-library-python/google/auth/transport/_aiohttp_requests.py:200: DeprecationWarning: Inheritance class AuthorizedSession from ClientSession is discouraged
    class AuthorizedSession(aiohttp.ClientSession):

This issue tracks fixing the underlying issue so that the warning is not emitted.