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.

1.3 KB
Raw Blame
"""Public contracts for deployment-selected runtime backends."""

from .errors import (
    BindingAcquireError,
    BindingCapacityExhaustedError,
    BindingCreateError,
    BindingDestroyError,
    BindingLostError,
    HomeSnapshotCreateError,
    HomeSnapshotNotFoundError,
    HomeSnapshotTooLargeError,
    RuntimeBackendError,
    SharedWorkspaceUnsupportedError,
    WorkspacePreservationUnsupportedError,
    WorkspaceUnavailableError,
)
from .protocols import (
    ExecutionBindingAllocation,
    ExecutionBindingBackend,
    ExecutionBindingCreateSpec,
    ExecutionBindingDestroySpec,
    HomeSnapshotBackend,
    HomeSnapshotCreateSpec,
    RuntimeBackendProfile,
    RuntimeLayout,
    RuntimeLease,
)

__all__ = [
    "BindingAcquireError",
    "BindingCapacityExhaustedError",
    "BindingCreateError",
    "BindingDestroyError",
    "BindingLostError",
    "ExecutionBindingAllocation",
    "ExecutionBindingBackend",
    "ExecutionBindingCreateSpec",
    "ExecutionBindingDestroySpec",
    "HomeSnapshotBackend",
    "HomeSnapshotCreateError",
    "HomeSnapshotCreateSpec",
    "HomeSnapshotNotFoundError",
    "HomeSnapshotTooLargeError",
    "RuntimeBackendError",
    "RuntimeBackendProfile",
    "RuntimeLayout",
    "RuntimeLease",
    "SharedWorkspaceUnsupportedError",
    "WorkspacePreservationUnsupportedError",
    "WorkspaceUnavailableError",
]