mirror of
https://github.com/arabianq/viking-file-python.git
synced 2026-07-25 21:56:58 +00:00
feat: trust_env=True for ClientSession
This commit is contained in:
@@ -33,7 +33,7 @@ class AsyncVikingClient:
|
||||
self.hash = user_hash
|
||||
self.timeout = api_timeout
|
||||
self._close_session = _session is None
|
||||
self._session = _session or ClientSession()
|
||||
self._session = _session or ClientSession(trust_env=True)
|
||||
|
||||
atexit.register(self._cleanup)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user