選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

recommend_app_base.py 448B

1234567891011121314151617
  1. from abc import ABC, abstractmethod
  2. class RecommendAppRetrievalBase(ABC):
  3. """Interface for recommend app retrieval."""
  4. @abstractmethod
  5. def get_recommended_apps_and_categories(self, language: str) -> dict:
  6. raise NotImplementedError
  7. @abstractmethod
  8. def get_recommend_app_detail(self, app_id: str):
  9. raise NotImplementedError
  10. @abstractmethod
  11. def get_type(self) -> str:
  12. raise NotImplementedError