Breaking change: user_id is now mandatory and no longer defaults to 1
Incoming notifications are now validated against shared Message model
This commit is contained in:
1 parent
ae9cd00cce
commit
b5c5717c6f
3 files changed
+107
-41
No files matched your search
@@ -1,6 +1,17 @@
|
||||
import logging
|
||||
from .send_notification import NotificationClient, NotificationError,NotificationUnavailableError
|
||||
|
||||
from .send_notification import (
|
||||
InvalidNotificationError,
|
||||
NotificationClient,
|
||||
NotificationError,
|
||||
NotificationUnavailableError,
|
||||
)
|
||||
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
__all__ = ["NotificationClient", "NotificationError", "NotificationUnavailableError"]
|
||||
__all__ = [
|
||||
"InvalidNotificationError",
|
||||
"NotificationClient",
|
||||
"NotificationError",
|
||||
"NotificationUnavailableError",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user