Skip to content

src/dazzle_ui/runtime/experience_state.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Experience flow state management.

Manages step tracking, navigation history, and data accumulation for multi-step experience flows. State is stored in signed cookies to prevent tampering.

Key Exports

  • ExperienceState
  • cookie_name
  • sign_state
  • verify_state
  • create_initial_state

Dependencies

Imports

  • __future__.annotations
  • base64
  • hashlib
  • hmac
  • logging
  • os
  • time
  • typing.Any
  • pydantic.BaseModel
  • pydantic.Field

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_experience_state.py
  • 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

Notes

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