File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,8 @@ def create_tcp_connector(*args, **kwargs) -> aiohttp.TCPConnector:
7878 ssl_context .load_verify_locations (certifi .where ())
7979 kwargs .setdefault ("ssl" , ssl_context )
8080 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
8283
8384
8485def create_client_session (* args , ** kwargs ) -> aiohttp .ClientSession :
@@ -103,7 +104,8 @@ def create_client_session(*args, **kwargs) -> aiohttp.ClientSession:
103104 kwargs .setdefault ("connector" , create_tcp_connector ())
104105 kwargs .setdefault ("timeout" , aiohttp .ClientTimeout (total = DEFAULT_TIMEOUT ))
105106 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
107109
108110
109111@contextmanager
You can’t perform that action at this time.
0 commit comments