feat(python-asyncio): add support for proxy config using system env vars (#11171)

Co-authored-by: Ignacio Campos <ignacio.campos@global.ntt>
This commit is contained in:
Ignacio Campos Rivera 2022-01-04 08:08:03 +01:00 committed by GitHub
parent 35a2fa6afc
commit 8c090c978d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -62,7 +62,8 @@ class RESTClientObject(object):
# https pool manager
self.pool_manager = aiohttp.ClientSession(
connector=connector
connector=connector,
trust_env=True
)
async def close(self):

View File

@ -60,7 +60,8 @@ class RESTClientObject(object):
# https pool manager
self.pool_manager = aiohttp.ClientSession(
connector=connector
connector=connector,
trust_env=True
)
async def close(self):

View File

@ -70,7 +70,8 @@ class RESTClientObject(object):
# https pool manager
self.pool_manager = aiohttp.ClientSession(
connector=connector
connector=connector,
trust_env=True
)
async def close(self):