mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix abstract Session method ordering
This commit is contained in:
@@ -52,14 +52,6 @@ class Session(ABC):
|
||||
def auth_key(self, value):
|
||||
raise NotImplementedError
|
||||
|
||||
@property
|
||||
def time_offset(self):
|
||||
return self._time_offset
|
||||
|
||||
@time_offset.setter
|
||||
def time_offset(self, value):
|
||||
self._time_offset = value
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def salt(self):
|
||||
@@ -127,6 +119,14 @@ class Session(ABC):
|
||||
def report_errors(self):
|
||||
return self._report_errors
|
||||
|
||||
@property
|
||||
def time_offset(self):
|
||||
return self._time_offset
|
||||
|
||||
@time_offset.setter
|
||||
def time_offset(self, value):
|
||||
self._time_offset = value
|
||||
|
||||
@property
|
||||
def flood_sleep_threshold(self):
|
||||
return self._flood_sleep_threshold
|
||||
|
Reference in New Issue
Block a user