Part of lp.bugs.interfaces.bugnotification View In Hierarchy
Method | getNotificationsToSend | Returns the notifications pending to be sent. |
Method | getDeferredNotifications | Returns the deferred notifications. |
Method | addNotification | Create a new BugNotification . |
Method | getRecipientFilterData | Get non-muted recipients mapped to sources & filter descriptions. |
A deferred noticiation is one that is pending but has no recipients.
BugNotification
.
Create a new BugNotification
object and the corresponding
BugNotificationRecipient
objects.
The dict of recipients may have fewer recipients than were provided if those users muted all of the subscription filters that caused them to be sent.
Parameters | bug | A bug we are collecting filter data for. |
recipient_to_sources | A dict of people who are to receive the email to the sources (BugNotificationRecipients) that represent the subscriptions that caused the notifications to be sent. | |
notifications | the notifications that are being communicated. |