Skip to content

src/dazzle_ui/specs/actions.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Action and effect specification types for UISpec.

Defines actions, effects, transitions, and state patches.

Key Exports

  • PatchOp
  • PatchSpec
  • TransitionSpec
  • FetchEffect
  • NavigateEffect
  • LogEffect
  • ToastEffect
  • CustomEffect
  • ActionPurity
  • ActionSpec
  • is_pure
  • is_impure

Dependencies

Imports

  • enum.StrEnum
  • typing.Any
  • typing.Literal
  • pydantic.BaseModel
  • pydantic.ConfigDict
  • pydantic.Field
  • dazzle_ui.specs.state.Binding

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_specs.py

Notes

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