blitz_api/app/apps/impl/apps_base.py

28 lines
701 B
Python
Raw Normal View History

2022-09-11 10:08:50 +02:00
from abc import abstractmethod
class AppsBase:
2022-09-11 10:08:50 +02:00
@abstractmethod
async def get_app_status_single(self, app_id: str):
raise NotImplementedError()
2022-09-11 10:08:50 +02:00
@abstractmethod
async def get_app_status(self):
raise NotImplementedError()
@abstractmethod
async def get_app_status_advanced(self, app_id: str):
raise NotImplementedError()
2022-09-11 10:08:50 +02:00
@abstractmethod
async def get_app_status_sub(self):
raise NotImplementedError()
2022-09-11 10:08:50 +02:00
@abstractmethod
async def install_app_sub(self, app_id: str):
raise NotImplementedError()
2022-09-11 10:08:50 +02:00
@abstractmethod
async def uninstall_app_sub(self, app_id: str, delete_data: bool):
raise NotImplementedError()