src/dazzle_back/runtime/ops_database.py¶
Generated: 2026-03-30T04:38:47.684130+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Operations Database for Control Plane.
Separate database for operational data: - Health check history - Event logs (with retention) - API call tracking - Tenant-scoped analytics
This database is isolated from the application database for: 1. Security: Ops data access doesn't grant app data access ...
Key Exports¶
HealthStatusComponentTypeHealthCheckRecordApiCallRecordAnalyticsEventRetentionConfigOpsCredentialsOpsDatabasefrom_dictcreateverifyconnectioncreate_credentialsverify_credentialshas_credentialsrecord_health_checkget_latest_healthget_health_historyrecord_api_callget_api_call_stats
Dependencies¶
Imports¶
__future__.annotationsjsoncollections.abc.Iteratorcontextlib.contextmanagerdataclasses.dataclassdataclasses.fielddatetime.UTCdatetime.datetimedatetime.timedeltaenum.StrEnumtyping.TYPE_CHECKINGtyping.Anyuuid.uuid4psycopgdazzle_back.runtime.auth.crypto.hash_passworddazzle_back.runtime.auth.crypto.verify_passwordpsycopgpsycopg.rows.dict_rowdazzle_back.runtime.auth.crypto.verify_password
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_ops_database_pg.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.