Skip to content

symfonic.agent.fastapi.tenant_privacy_router

tenant_privacy_router

Legacy tenant privacy sub-router factory: refuses from 11.4 (CORE-25).

create_tenant_privacy_router served GDPR export and erasure by reaching into a legacy agent's private memory orchestrator. Its only package caller was create_agent_router, which refuses from 11.4, so the body is gone. The name stays importable so a caller reads the migration error rather than an ImportError; the error names the privacy port of create_kernel_agent_router, which serves both routes natively. No admission, flag or private patch restores it.

create_tenant_privacy_router

create_tenant_privacy_router(agent: Any) -> NoReturn

Refuse with :class:EntryPointRemovedError before agent is read.

Source code in src/symfonic/agent/fastapi/tenant_privacy_router.py
def create_tenant_privacy_router(agent: Any) -> NoReturn:
    """Refuse with :class:`EntryPointRemovedError` before ``agent`` is read."""
    raise EntryPointRemovedError("create_tenant_privacy_router")