Skip to content

src/dazzle_ui/specs/state.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

State specification types for UISpec.

Defines state scopes and data bindings.

Key Exports

  • StateScope
  • StateSpec
  • LiteralBinding
  • PropBinding
  • StateBinding
  • WorkspaceStateBinding
  • AppStateBinding
  • DerivedBinding

Dependencies

Imports

  • enum.StrEnum
  • typing.Any
  • typing.Literal
  • pydantic.BaseModel
  • pydantic.ConfigDict
  • pydantic.Field

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_state_machine_parsing.py
  • tests/unit/test_state_machine_runtime.py
  • tests/unit/test_vendor_mock_state.py
  • tests/unit/test_experience_state.py
  • tests/unit/test_build_state.py

Notes

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