add trust env to clientsession
This commit is contained in:
1 parent
b5f4c85bb1
commit
9623ef4360
4 files changed
+4
-3
No files matched your search
@@ -105,7 +105,7 @@ async def load_function_from_url(
|
||||
)
|
||||
|
||||
try:
|
||||
async with aiohttp.ClientSession() as session:
|
||||
async with aiohttp.ClientSession(trust_env=True) as session:
|
||||
async with session.get(
|
||||
url, headers={"Content-Type": "application/json"}
|
||||
) as resp:
|
||||
|
||||
Reference in new issue
Block a user