src/dazzle_back/runtime/sa_schema.py¶
Generated: 2026-03-30T04:38:48.111088+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
SQLAlchemy MetaData bridge for EntitySpec.
Converts DSL EntitySpec objects into SQLAlchemy Table objects on a shared MetaData instance. This gives us:
- Topologically-sorted DDL via
metadata.create_all() - Automatic cycle handling for circular FKs (
use_alter=True) - A single source of tru...
Key Exports¶
build_metadataget_sorted_table_namesget_circular_ref_edgesdfs
Dependencies¶
Imports¶
__future__.annotationsloggingtyping.TYPE_CHECKINGtyping.Anytyping.castdazzle_back.specs.entity.EntitySpecdazzle_back.specs.entity.FieldSpecdazzle_back.specs.entity.FieldTypedazzle_back.specs.entity.ScalarTypesqlalchemysqlalchemy
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_sa_schema.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.