l.t.m.p.POFileStatsJob(StormBase, BaseRunnableJob) : class documentation

Part of lp.translations.model.pofilestatsjob View In Hierarchy

The details for a POFile status update job.
Method __init__ Undocumented
Method getOperationDescription See IRunnableJob.
Method run See IRunnableJob.
Static Method iterReady See IJobSource.
Method makeDerived Support UniversalJobSource.
Method getDBClass Undocumented

Inherited from StormBase:

Method __storm_invalidated__ Flush cached properties.

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 getErrorRecipients Return a list of email-ids to notify about user errors.
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 getOopsVars See IRunnableJob.
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 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, pofile):
Undocumented
def getOperationDescription(self):
See IRunnableJob.
def run(self):
See IRunnableJob.
@staticmethod
def iterReady():
See IJobSource.
def makeDerived(self):
Support UniversalJobSource.

(Most Job ORM classes are generic, because their database table is used for several related job types. Therefore, they have derived classes to implement the specific Job.

POFileStatsJob implements the specific job, so its makeDerived returns itself.)

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