Skip to content

src/dazzle_back/runtime/island_routes.py

Generated: 2026-03-30T04:38:47.466913+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Island API routes — auto-generated CRUD endpoints for UI islands.

When an island declares entity: SomeEntity, the framework generates a lightweight data endpoint at /api/islands/{island_name}/data that proxies to the entity's CRUD service.

Key Exports

  • create_island_routes
  • get_island_data

Dependencies

Imports

  • logging
  • typing.Any
  • dazzle.core.ir.islands.IslandSpec
  • dazzle_back.runtime._fastapi_compat.APIRouter
  • dazzle_back.runtime._fastapi_compat.Depends
  • dazzle_back.runtime._fastapi_compat.HTTPException
  • dazzle_back.runtime._fastapi_compat.Query

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/integration/test_runtime_e2e.py
  • tests/integration/test_runtime_pipeline.py
  • tests/unit/test_runtime_test_routes.py
  • tests/unit/test_runtime_services.py
  • tests/unit/test_runtime_mcp_tools.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.