diff --git a/app/repositories/apps_impl/apps_base.py b/app/repositories/apps_impl/apps_base.py index be3cbac..c6ec4bf 100644 --- a/app/repositories/apps_impl/apps_base.py +++ b/app/repositories/apps_impl/apps_base.py @@ -1,15 +1,23 @@ +from abc import abstractmethod + + class AppsBase: + @abstractmethod async def get_app_status_single(self, app_id: str): raise NotImplementedError() + @abstractmethod async def get_app_status(self): raise NotImplementedError() + @abstractmethod async def get_app_status_sub(self): raise NotImplementedError() + @abstractmethod async def install_app_sub(self, app_id: str): raise NotImplementedError() + @abstractmethod async def uninstall_app_sub(self, app_id: str, delete_data: bool): raise NotImplementedError()