Skip to content

Commit

Permalink
fix: pass trust_env kwarg to ClientSession
Browse files Browse the repository at this point in the history
  • Loading branch information
Sijun Liu committed Jun 10, 2024
1 parent 48add44 commit da770b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion google/auth/transport/_aiohttp_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ async def request(
headers[key] = headers[key].decode("utf-8")

async with aiohttp.ClientSession(
auto_decompress=self._auto_decompress
auto_decompress=self._auto_decompress,
trust_env=kwargs.get('trust_env', False)
) as self._auth_request_session:
auth_request = Request(self._auth_request_session)
self._auth_request = auth_request
Expand Down
Binary file modified system_tests/secrets.tar.enc
Binary file not shown.

0 comments on commit da770b3

Please sign in to comment.