mirror of
https://github.com/langgenius/dify.git
synced 2026-07-15 09:27:36 +08:00
16 lines
467 B
Python
16 lines
467 B
Python
from typing import Any, Protocol
|
|
|
|
from sqlalchemy.orm import Session
|
|
|
|
|
|
class RecommendAppRetrievalBase(Protocol):
|
|
"""Interface for recommend app retrieval."""
|
|
|
|
def get_recommended_apps_and_categories(self, language: str, *, session: Session) -> Any: ...
|
|
|
|
def get_learn_dify_apps(self, language: str, *, session: Session) -> Any: ...
|
|
|
|
def get_recommend_app_detail(self, app_id: str, *, session: Session) -> Any: ...
|
|
|
|
def get_type(self) -> str: ...
|