l.a.m.q.QuestionEmailJob(BaseRunnableJob) : class documentation

Part of lp.answers.model.questionjob View In Hierarchy

Intermediate class for deriving from QuestionJob.
Method __init__ Undocumented
Class Method create See IQuestionJob.
Class Method iterReady See IJobSource.
Method user See IQuestionEmailJob.
Method subject See IQuestionEmailJob.
Method body See IQuestionEmailJob.
Method headers See IQuestionEmailJob.
Method log_name See IRunnableJob.
Method getOopsVars See IRunnableJob.
Method getErrorRecipients See IRunnableJob.
Method from_address See IQuestionEmailJob.
Method recipients See IQuestionEmailJob.
Method buildBody See IQuestionEmailJob.
Method run See IRunnableJob.

Inherited from BaseRunnableJob:

Method __eq__ Undocumented
Method __ne__ Undocumented
Method __lt__ Undocumented
Method getOopsRecipients Return a list of email-ids to notify about oopses.
Method getOperationDescription Undocumented
Method getOopsMailController Return a MailController for notifying people about oopses.
Method getUserErrorMailController Return a MailController for notifying about user errors.
Method notifyOops Report this oops.
Method notifyUserError See IRunnableJob.
Method makeOopsReport Generate an OOPS report using the given OOPS configuration.
Method acquireLease Undocumented
Method taskId Return a task ID that gives a clue what this job is about.
Method runViaCelery Request that this job be run via celery.
Method getDBClass Undocumented
Method celeryCommitHook Hook function to call when a commit completes.
Method celeryRunOnCommit Configure transaction so that commit runs this job via Celery.
Method queue See IJob.

Inherited from BaseRunnableJobSource (via BaseRunnableJob):

Static Method contextManager Undocumented
def __init__(self, job):
Undocumented
@classmethod
def create(cls, question, user, recipient_set, subject, body, headers):
See IQuestionJob.
@classmethod
def iterReady(cls):
See IJobSource.
@cachedproperty
def user(self):
See IQuestionEmailJob.
@property
def subject(self):
See IQuestionEmailJob.
@property
def body(self):
See IQuestionEmailJob.
@property
def headers(self):
See IQuestionEmailJob.
@property
def log_name(self):
See IRunnableJob.
def getOopsVars(self):
See IRunnableJob.
def getErrorRecipients(self):
See IRunnableJob.
@property
def from_address(self):
See IQuestionEmailJob.
@property
def recipients(self):
See IQuestionEmailJob.
def buildBody(self, rationale):
See IQuestionEmailJob.
def run(self):
See IRunnableJob.

Send emails to all the question recipients.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.