mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Fix abstract Session method ordering
This commit is contained in:
parent
4c64d53e71
commit
df3faaeb7f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user