l.r.s.p.PersonNotificationManager : class documentation

Part of lp.registry.scripts.personnotification View In Hierarchy

No class docstring
Method __init__ Initialize the manager with a transaction manager and logger.
Method sendNotifications Send notifications to users.
Method purgeNotifications Delete PersonNotifications that are older than the retention limit.
def __init__(self, txn, logger):
Initialize the manager with a transaction manager and logger.
def sendNotifications(self):
Send notifications to users.
def purgeNotifications(self, extra_notifications=None):
Delete PersonNotifications that are older than the retention limit.

The limit is set in the configuration: person_notification.retained_days

Parametersextra_messagesa list of additional notifications to purge. These may be messages to users without email addresses.
API Documentation for Launchpad, generated by pydoctor at 2019-02-18 00:00:04.