Skip to content

src/dazzle_ui/runtime/template_context.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Template context models for server-rendered pages.

Pydantic models that represent the data needed to render Jinja2 templates. These replace UISpec as the bridge between IR and rendered HTML.

Key Exports

  • NavItemContext
  • ColumnContext
  • FieldSourceContext
  • FragmentContext
  • FieldContext
  • TableContext
  • FormSectionContext
  • FormContext
  • TransitionContext
  • RelatedTabContext
  • RelatedGroupContext
  • ExternalLinkAction
  • IntegrationActionContext
  • DetailContext
  • ReviewActionContext
  • ReviewContext
  • IslandContext
  • PageContext
  • ExperienceStepContext
  • ExperienceTransitionContext

Dependencies

Imports

  • __future__.annotations
  • typing.Any
  • pydantic.BaseModel
  • pydantic.Field

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.