l.h.i.h.IHWSubmissionBugSet(Interface) : interface documentation

Part of lp.hardwaredb.interfaces.hwdb View In Hierarchy

The set of IHWSubmissionBugs.
Method create Create a new IHWSubmissionBug instance.
Method remove Remove the link between hwsubmission and bug.
Method submissionsForBug Return the HWDB submissions linked to the bug bug.
def create(hwsubmission, bug):
Create a new IHWSubmissionBug instance.
ParametershwsubmissionAn IHWSubmission instance.
bugAn IBug instance.
ReturnsThe new IHWSubmissionBug instance.
def remove(hwsubmission, bug):
Remove the link between hwsubmission and bug.
ParametershwsubmissionAn IHWSubmission instance.
bugAn IBug instance.
def submissionsForBug(bug, user=None):
Return the HWDB submissions linked to the bug bug.

Only those submissions are returned which the user can access. Public submissions are always included; private submisisons only if the user is the owner or an admin.

ParametersuserThe user making the request.
ReturnsA sequence of HWDB submissions linked to bug.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.