Skip to content

src/dazzle_back/runtime/side_effect_executor.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Side-effect executor for process step effects.

Executes create/update actions declared in process step effects: blocks. Each effect calls the target entity's CRUDService, which naturally fires downstream lifecycle events (process triggers, channel sends, etc.).

Key Exports

  • EffectResult
  • EffectContext
  • SideEffectExecutor
  • execute_effects

Dependencies

Imports

  • __future__.annotations
  • logging
  • dataclasses.dataclass
  • dataclasses.field
  • datetime.UTC
  • datetime.datetime
  • typing.Any
  • uuid.UUID
  • dazzle.core.ir.process.EffectAction
  • dazzle.core.ir.process.FieldAssignment
  • dazzle.core.ir.process.StepEffect

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.