mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Provide a blanket implementation for _init_conn
This commit is contained in:
@@ -173,7 +173,6 @@ class Connection(abc.ABC):
|
||||
except asyncio.CancelledError:
|
||||
break
|
||||
|
||||
@abc.abstractmethod
|
||||
def _init_conn(self):
|
||||
"""
|
||||
This method will be called after `connect` is called.
|
||||
@@ -183,7 +182,6 @@ class Connection(abc.ABC):
|
||||
data to Telegram to indicate which connection mode will
|
||||
be used.
|
||||
"""
|
||||
raise NotImplemented
|
||||
|
||||
@abc.abstractmethod
|
||||
def _send(self, data):
|
||||
|
Reference in New Issue
Block a user