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.

350 B
Raw Blame
"""Infrastructure adapters for document-sync requests."""

from collections.abc import Callable


class CeleryDocumentSyncDispatcher:
    def __init__(self, *, delay: Callable[[str, str], object]) -> None:
        self._delay = delay

    def dispatch(self, *, dataset_id: str, document_id: str) -> None:
        self._delay(dataset_id, document_id)