mirror of
https://github.com/norohind/ED-livery-tracker-advanced.git
synced 2025-04-19 18:37:41 +03:00
30 lines
781 B
Python
30 lines
781 B
Python
import abc
|
|
|
|
|
|
class AbstractModel(abc.ABC):
|
|
|
|
@abc.abstractmethod
|
|
def open_model(self) -> None:
|
|
raise NotImplemented
|
|
|
|
@abc.abstractmethod
|
|
def close_model(self) -> None:
|
|
raise NotImplemented
|
|
|
|
@abc.abstractmethod
|
|
def get_activity_changes(self, platform: str, leaderboard_type: str, limit: int, low_timestamp, high_timestamp)\
|
|
-> list:
|
|
raise NotImplemented
|
|
|
|
@abc.abstractmethod
|
|
def insert_livery(self, livery_list: list) -> int:
|
|
raise NotImplemented
|
|
|
|
@abc.abstractmethod
|
|
def insert_livery_timestamp(self, livery_list: list) -> int:
|
|
raise NotImplemented
|
|
|
|
@abc.abstractmethod
|
|
def get_diff_action_id(self, action_id: int) -> list:
|
|
raise NotImplemented
|