src/dazzle_back/events/inbox.py¶
Generated: 2026-03-30T04:38:46.086787+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Event Inbox for Idempotent Consumer Processing.
The inbox pattern tracks which events have been processed by each consumer, enabling at-least-once delivery with idempotent handling. When an event arrives, the consumer checks the inbox first - if already processed, it's skipped.
Rule 2: At-least-on...
Key Exports¶
ProcessingResultInboxEntryEventInboxcreate_tableis_processedshould_processmark_processedmark_errorget_entrydelete_entryget_statscleanup_old_entriesget_recent_entrieslist_consumers
Dependencies¶
Imports¶
__future__.annotationsdataclasses.dataclassdataclasses.fielddatetime.UTCdatetime.datetimeenum.StrEnumtyping.Anyuuid.UUIDjsonjsondatetime.timedeltajson
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_inbox_pg.pytests/unit/test_events.pytests/unit/test_events_api.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.