l.a.n.QuestionAddedNotification(QuestionNotification) : class documentation

Part of lp.answers.notification View In Hierarchy

Known subclasses: lp.answers.tests.test_question_notifications.FakeQuestionAddedNotification

Notification sent when a question is added.
Method user Return the question owner.
Method getBody See QuestionNotification.

Inherited from QuestionNotification:

Method __init__ Base constructor.
Method getSubject Return the subject of the notification.
Method getHeaders Return additional headers to add to the email.
Method initialize Initialization hook for subclasses.
Method shouldNotify Return if there is something to notify about.
Method enqueue Create a job to send email about the event.
Method unsupported_language Whether the question language is unsupported or not.
Method unsupported_language_warning Warning about the fact that the question is written in an
@property
def user(self):
Return the question owner.

Questions can be created by other users for the owner; the question is from the owner.

def getBody(self):
See QuestionNotification.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.