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.

334 B
Raw Blame
from machinery.context import AppRequestContext


def test_app_request_context_contains_only_app_scope() -> None:
    context = AppRequestContext(
        tenant_id="tenant-1",
        app_id="app-1",
    )

    assert context.tenant_id == "tenant-1"
    assert context.app_id == "app-1"
    assert not hasattr(context, "account_id")