src/dazzle_ui/runtime/experience_routes.py¶
Generated: 2026-03-30T04:38:48.994445+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_ui
Purpose¶
Experience flow route handler.
Creates FastAPI routes for multi-step experience flows: - GET /experiences/{name} — redirect to current/start step - GET /experiences/{name}/{step} — render a step - POST /experiences/{name}/{step}?event=X — process transition
Key Exports¶
_ExperienceDepscreate_experience_routes
Dependencies¶
Imports¶
asynciojsonloggingurllib.requestcollections.abc.Callabledataclasses.dataclassdataclasses.fieldfunctools.partialpathlib.Pathtyping.Anydazzle.core.irdazzle.core.ir.experiences.StepKinddazzle.core.manifest.resolve_api_urldazzle.core.strings.to_api_pluraldazzle_ui.utils.expression_eval.evaluate_simple_conditionfastapi.APIRouterfastapi.Requestfastapi.responses.HTMLResponsefastapi.responses.RedirectResponsefastapi.responses.Response
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_experience_routes.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.