l.s.w.m.WebhookDeliveryJob(WebhookJobDerived) : class documentation

Part of lp.services.webhooks.model View In Hierarchy

A job that delivers an event to a webhook endpoint.
Class Method create Undocumented
Method pending Undocumented
Method successful Undocumented
Method error_message Undocumented
Method date_scheduled Undocumented
Method date_first_sent Undocumented
Method date_sent Undocumented
Method event_type Undocumented
Method payload Undocumented
Method retry See IWebhookDeliveryJob.
Method retry_automatically Undocumented
Method retry_delay Undocumented
Method run Undocumented
Method _time_since_first_attempt Undocumented

Inherited from WebhookJobDerived:

Method __init__ Undocumented
Method __repr__ Undocumented
Class Method iterReady See IJobSource.

Inherited from BaseRunnableJob (via WebhookJobDerived):

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 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 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 WebhookJobDerived, BaseRunnableJob):

Static Method contextManager Undocumented
def create(cls, webhook, event_type, payload):
def pending(self):
def successful(self):
def error_message(self):
def date_scheduled(self):
def date_first_sent(self):
def date_sent(self):
def event_type(self):
def payload(self):
def _time_since_first_attempt(self):
def retry(self, reset=False):
See IWebhookDeliveryJob.
def retry_automatically(self):
def retry_delay(self):
def run(self):
API Documentation for Launchpad, generated by pydoctor at 2021-01-28 00:00:03.