l.a.i.q.IQuestionEmailJobSource(IJobSource) : interface documentation

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

An interface for acquiring IQuestionJob.
Method create Create a new IQuestionJob.

Inherited from IJobSource:

Int memory_limit Undocumented
Method iterReady Iterate through all jobs.
Method contextManager Get a context for running this kind of job in.
def create(question, user, recipient_set, subject, body, headers):
Create a new IQuestionJob.
ParametersquestionAn IQuestion.
userAn IPerson.
recipient_setA QuestionRecipientSet.
subjectThe subject of the email.
bodyThe text of the email that is common to all recipients.
headersA dict of headers for the email that are common to all recipients.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.