mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 11:23:46 +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):
|
def auth_key(self, value):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
@property
|
|
||||||
def time_offset(self):
|
|
||||||
return self._time_offset
|
|
||||||
|
|
||||||
@time_offset.setter
|
|
||||||
def time_offset(self, value):
|
|
||||||
self._time_offset = value
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def salt(self):
|
def salt(self):
|
||||||
|
@ -127,6 +119,14 @@ class Session(ABC):
|
||||||
def report_errors(self):
|
def report_errors(self):
|
||||||
return self._report_errors
|
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
|
@property
|
||||||
def flood_sleep_threshold(self):
|
def flood_sleep_threshold(self):
|
||||||
return self._flood_sleep_threshold
|
return self._flood_sleep_threshold
|
||||||
|
|
Loading…
Reference in New Issue
Block a user