Skip to content

src/dazzle_back/runtime/migrations.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Migration support types and schema introspection for Dazzle.

Migrations are managed by Alembic (see src/dazzle_back/alembic/). This module retains schema introspection utilities and type definitions used by the MCP db tools and CLI reporting.

Key Exports

  • MigrationAction
  • MigrationStep
  • MigrationPlan
  • ColumnInfo
  • get_table_schema
  • get_table_indexes
  • MigrationError
  • ensure_dazzle_params_table
  • is_empty
  • safe_steps

Dependencies

Imports

  • dataclasses.dataclass
  • enum.StrEnum
  • typing.Any

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.