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

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

The set of all CodeImportResults.
Method new Create a CodeImportResult with the given details.
def new(code_import, machine, requesting_user, log_excerpt, log_file, status, date_job_started, date_job_finished=None):
Create a CodeImportResult with the given details.

The date the job finished is assumed to be now and so is not passed in as a parameter.

Parameterscode_importThe code import for which the job was run.
machineThe machine the job ran on.
requesting_userThe user that requested the import, if any. If None, this means that the job was executed because it was automatically scheduled.
log_excerptThe last few lines of the log.
log_fileA link to the log in the librarian.
statusA status code from CodeImportResultStatus.
date_job_startedThe date the job started.
date_job_finishedThe date the job finished, defaults to now.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.