l.r.i.p.ExpirationSource(Interface) : interface documentation

Part of lp.registry.interfaces.productjob View In Hierarchy

Known subclasses: lp.registry.interfaces.productjob.ICommercialExpiredJobSource, lp.registry.interfaces.productjob.ISevenDayCommercialExpirationJobSource, lp.registry.interfaces.productjob.IThirtyDayCommercialExpirationJobSource

No interface docstring
Method create Create a new job.
Method getExpiringProducts Return the products that require a job to update them.
def create(product, reviewer):
Create a new job.
ParametersproductAn IProduct.
reviewerThe user or agent sending the email.
def getExpiringProducts():
Return the products that require a job to update them.

The products returned can passed to create() to make the job. The products have a commercial subscription that expires within the job's effective date range. The products returned do not have a recent job; once the job is created, the product is excluded from the future calls to this method.

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