File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,8 @@ def create_tcp_connector(*args, **kwargs) -> aiohttp.TCPConnector:
78
78
ssl_context .load_verify_locations (certifi .where ())
79
79
kwargs .setdefault ("ssl" , ssl_context )
80
80
kwargs .setdefault ("limit" , DEFAULT_LIMIT )
81
- return aiohttp .TCPConnector (* args , ** kwargs ) # type: ignore due to https://github.com/python/mypy/issues/4001
81
+ # due to https://github.com/python/mypy/issues/4001
82
+ return aiohttp .TCPConnector (* args , ** kwargs ) # type: ignore
82
83
83
84
84
85
def create_client_session (* args , ** kwargs ) -> aiohttp .ClientSession :
@@ -103,7 +104,8 @@ def create_client_session(*args, **kwargs) -> aiohttp.ClientSession:
103
104
kwargs .setdefault ("connector" , create_tcp_connector ())
104
105
kwargs .setdefault ("timeout" , aiohttp .ClientTimeout (total = DEFAULT_TIMEOUT ))
105
106
kwargs .setdefault ("raise_for_status" , True )
106
- return aiohttp .ClientSession (* args , ** kwargs ) # type: ignore due to https://github.com/python/mypy/issues/4001
107
+ # due to https://github.com/python/mypy/issues/4001
108
+ return aiohttp .ClientSession (* args , ** kwargs ) # type: ignore
107
109
108
110
109
111
@contextmanager
You can’t perform that action at this time.
0 commit comments