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

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

Parts of the CodeImportJobSet interface that need to be public.

These are accessed by the getJobForMachine XML-RPC method, requests to which are not authenticated.

Method getJobForMachine Select a job for the given machine to run and mark it as started.
def getJobForMachine(hostname, worker_limit):
Select a job for the given machine to run and mark it as started.

If there is not already a CodeImportMachine with the given hostname, one will be created in the ONLINE state.

This method selects a job that is due to be run for running on the given machine and calls ICodeImportJobWorkflowPublic.startJob() on it. It will return None if there is no such job.

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