src/dazzle_back/events/service_mixin.py¶
Generated: 2026-03-30T04:38:46.230672+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Event-Emitting Service Mixin.
This module provides a mixin class that adds event emission capabilities to CRUD services. Events are emitted through the outbox for transactional safety.
Usage: class MyService(EventEmittingMixin, CRUDService): pass
# Events will be automatically emi...
Key Exports¶
EventEmittingMixinEventEmittingCRUDServiceset_event_frameworkconfigure_events
Dependencies¶
Imports¶
loggingtyping.Anytyping.Generictyping.TypeVaruuid.UUIDpydantic.BaseModeldazzle_back.events.envelope.EventEnvelope
Event Interactions¶
Emits: entity.created, entity.deleted, entity.updated
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_events.pytests/unit/test_events_api.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.