Skip to content

src/dazzle_back/channels/adapters/queue.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Queue channel adapters for DAZZLE messaging.

Provides adapters for: - RabbitMQ (production) - In-memory queue (development/testing fallback)

Key Exports

  • RabbitMQAdapter
  • InMemoryQueueAdapter
  • provider_name
  • initialize
  • shutdown
  • send
  • receive
  • ack
  • nack
  • health_check
  • provider_name
  • initialize
  • shutdown
  • send
  • receive
  • ack
  • nack
  • health_check
  • clear_all
  • get_queue_size

Dependencies

Imports

  • __future__.annotations
  • asyncio
  • json
  • logging
  • time
  • typing.TYPE_CHECKING
  • typing.Any
  • typing.ClassVar
  • base.QueueAdapter
  • base.SendResult
  • base.SendStatus
  • detection.DetectionResult
  • outbox.OutboxMessage
  • aio_pika
  • aio_pika

Event Interactions

Emits: OutboxMessage

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_queue_adapters.py
  • tests/unit/test_llm_queue.py
  • tests/unit/test_adapters.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.