mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-18 13:34:54 +00:00
Add type hint
This commit is contained in:
parent
dc322ddf1a
commit
6ab60c0d36
@ -40,7 +40,7 @@ class Connection:
|
||||
self.proxy = proxy
|
||||
self.mode = self.MODES.get(mode, TCPAbridged)
|
||||
|
||||
self.connection = None
|
||||
self.connection = None # type: TCP
|
||||
|
||||
async def connect(self):
|
||||
for i in range(Connection.MAX_RETRIES):
|
||||
|
Loading…
Reference in New Issue
Block a user