This repository has been archived on 2023-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
2023-01-10 00:48:55 +00:00
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
2023-01-10 12:33:52 +00:00
|
|
|
from models.user import User
|
2023-01-10 00:48:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
class AbstractSourcePlatform(ABC):
|
|
|
|
@abstractmethod
|
|
|
|
def get_user_information(self) -> User:
|
|
|
|
"""Init tables in database"""
|
2023-01-10 13:29:58 +00:00
|
|
|
|
|
|
|
@abstractmethod
|
|
|
|
def run(self) -> None:
|
|
|
|
"""Platform launch"""
|