Skip to content

src/dazzle_back/runtime/integration_executor.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Integration action executor (v0.20.0).

Executes IntegrationAction definitions from the DSL against external APIs when a surface form is submitted.

Data flow::

Surface submit → post-submit hook → IntegrationExecutor.execute_action()
    → resolve service config from env vars
    → ...

Key Exports

  • ServiceConfig
  • ActionResult
  • IntegrationExecutor
  • get_actions_for_surface
  • resolve_service
  • evaluate_expression
  • apply_mapping
  • execute_action

Dependencies

Imports

  • __future__.annotations
  • logging
  • os
  • dataclasses.dataclass
  • dataclasses.field
  • typing.TYPE_CHECKING
  • typing.Any
  • dazzle.core.ir.integrations.Expression
  • dazzle.core.ir.integrations.IntegrationAction
  • dazzle.core.ir.integrations.MappingRule
  • httpx
  • dazzle_back.runtime.http_utils.http_call_with_retry

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.