Spaces:
Paused
Paused
File size: 465 Bytes
f961d6f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | from abc import ABC, abstractmethod
class RecommendAppRetrievalBase(ABC):
"""Interface for recommend app retrieval."""
@abstractmethod
def get_recommended_apps_and_categories(self, language: str) -> dict:
raise NotImplementedError
@abstractmethod
def get_recommend_app_detail(self, app_id: str):
raise NotImplementedError
@abstractmethod
def get_type(self) -> str:
raise NotImplementedError
|