l.c.i.c.ICodeImportJobSet(Interface) : interface documentation

Part of lp.code.interfaces.codeimportjob View In Hierarchy

The set of pending and active code import jobs.
Method getById Get a CodeImportJob by its database id.
Method getReclaimableJobs Get the set of jobs that can be reclaimed.
def getById(id):
Get a CodeImportJob by its database id.
ReturnsA CodeImportJob or None if this database id is not found.
def getReclaimableJobs():
Get the set of jobs that can be reclaimed.

A job is reclaimable if its heartbeat has not been updated for config.codeimportworker.maximum_heartbeat_interval seconds.

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