From 6ab60c0d3609493627caef9fcbf7f08a9034132d Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 10 Jun 2018 16:14:42 +0200 Subject: [PATCH] Add type hint --- pyrogram/connection/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/connection/connection.py b/pyrogram/connection/connection.py index b03e8852..cab31b62 100644 --- a/pyrogram/connection/connection.py +++ b/pyrogram/connection/connection.py @@ -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):