Underground-Digital/Workflow-Engine
0
1from abc import ABC, abstractmethod2 3 4class RecommendAppRetrievalBase(ABC):5 """Interface for recommend app retrieval."""6 7 @abstractmethod8 def get_recommended_apps_and_categories(self, language: str) -> dict:9 raise NotImplementedError10 11 @abstractmethod12 def get_recommend_app_detail(self, app_id: str):13 raise NotImplementedError14 15 @abstractmethod16 def get_type(self) -> str:17 raise NotImplementedError18 