t.n.d._ModerationMixin : class documentation

Part of twisted.news.database View Source View In Hierarchy

Known subclasses: twisted.news.database.NewsShelf, twisted.news.database.PickleStorage

Storage implementations can inherit from this class to get the easy-to-use notifyModerators method which will take care of sending messages which require moderation to a list of moderators.
Method notifyModerators Send an article to a list of group moderators to be moderated.
def notifyModerators(self, moderators, article): (source)
Send an article to a list of group moderators to be moderated.
ParametersmoderatorsA list of str giving RFC 2821 addresses of group moderators to notify.
articleThe article requiring moderation. (type: Article)
ReturnsA Deferred which fires with the result of sending the email.
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.