Coverage for src / local_deep_research / notifications / __init__.py: 100%
8 statements
« prev ^ index » next coverage.py v7.12.0, created at 2026-01-11 00:51 +0000
« prev ^ index » next coverage.py v7.12.0, created at 2026-01-11 00:51 +0000
1"""
2Notification system for Local Deep Research.
4Supports multiple notification services via Apprise including:
5- Email (SMTP, Gmail, etc.)
6- Messaging (Discord, Slack, Telegram, etc.)
7- SMS (Twilio, AWS SNS, etc.)
8- Push notifications (Pushover, Gotify, etc.)
9"""
11from .exceptions import (
12 NotificationError,
13 ServiceError,
14 SendError,
15 RateLimitError,
16)
17from .service import NotificationService
18from .manager import NotificationManager
19from .templates import NotificationTemplate, EventType
20from .url_builder import build_notification_url
21from ..security.url_validator import URLValidator, URLValidationError
22from .queue_helpers import (
23 send_queue_notification,
24 send_queue_failed_notification,
25 send_queue_failed_notification_from_session,
26 send_research_completed_notification_from_session,
27 send_research_failed_notification_from_session,
28)
30__all__ = [
31 "NotificationError",
32 "ServiceError",
33 "SendError",
34 "RateLimitError",
35 "NotificationService",
36 "NotificationManager",
37 "NotificationTemplate",
38 "EventType",
39 "build_notification_url",
40 "URLValidator",
41 "URLValidationError",
42 "send_queue_notification",
43 "send_queue_failed_notification",
44 "send_queue_failed_notification_from_session",
45 "send_research_completed_notification_from_session",
46 "send_research_failed_notification_from_session",
47]