Session argument for aiohttp request object is ignored #700
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
google-auth
version: 1.26.1Steps to reproduce
Consider the following example:
This code will raise
AssertionError
, because the session argument is ignored in theRequest
object.google-auth-library-python/google/auth/transport/_aiohttp_requests.py
Lines 140 to 141 in aeab5d0
This may also cause runtime warnings about unclosed sessions when
AuthorizedSession
object is used.The text was updated successfully, but these errors were encountered: