From 1c486a6b6ea25959f5e514c47233570087ecd929 Mon Sep 17 00:00:00 2001 From: monosans Date: Thu, 26 Dec 2024 08:49:30 +0300 Subject: [PATCH] fix ProxyConnector port type hint: str -> int --- aiohttp_socks/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiohttp_socks/connector.py b/aiohttp_socks/connector.py index 9289df1..4c69a07 100644 --- a/aiohttp_socks/connector.py +++ b/aiohttp_socks/connector.py @@ -84,7 +84,7 @@ class ProxyConnector(_BaseProxyConnector): def __init__( self, host: str, - port: str, + port: int, proxy_type: ProxyType = ProxyType.SOCKS5, username: Optional[str] = None, password: Optional[str] = None,