Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

507 B
Raw Blame
from typing import Any, Protocol

from sqlalchemy.orm import Session


class PipelineTemplateRetrievalBase(Protocol):
    """Interface for pipeline template retrieval."""

    def get_pipeline_templates(
        self, language: str, current_tenant_id: str | None = None, *, session: Session
    ) -> dict[str, Any]: ...

    def get_pipeline_template_detail(
        self, template_id: str, current_tenant_id: str, *, session: Session
    ) -> dict[str, Any] | None: ...

    def get_type(self) -> str: ...