l.b.i.w.IBugNomination(IHasBug, IHasOwner) : interface documentation

Part of lp.bugs.interfaces.webservice View In Hierarchy

A nomination for a bug to be fixed in a specific series.

A nomination can apply to an IDistroSeries or an IProductSeries.

Int id Undocumented
Attribute ownerID The db id of the owner.
Method approve Approve this bug for fixing in a series.
Method decline Decline this bug for fixing in a series.
Method isProposed Is this nomination in Proposed state?
Method isDeclined Is this nomination in Declined state?
Method isApproved Is this nomination in Approved state?
Method canApprove Is this person allowed to approve the nomination?

Inherited from IHasBug:

Int bug Undocumented

Inherited from IHasOwner:

Attribute owner The object's owner, which is an IPerson.
id =
Undocumented
ownerID =
The db id of the owner.
@call_with(REQUEST_USER)
@export_write_operation()
def approve(approver):
Approve this bug for fixing in a series.

The status is set to APPROVED and the appropriate IBugTask(s) are created for the nomination target.

A nomination in any state can be approved. If the nomination is /already/ approved, this method is a noop.

Unknown Field: approverThe IPerson that approves this nomination and that will own the created bugtasks.
@call_with(REQUEST_USER)
@export_write_operation()
def decline(decliner):
Decline this bug for fixing in a series.

The status is set to DECLINED.

If called on a nomination that is in APPROVED state, a BugNominationStatusError is raised. If the nomination was already DECLINED, this method is a noop.

Unknown Field: declinerThe IPerson that declines this nomination.
def isProposed():
Is this nomination in Proposed state?
def isDeclined():
Is this nomination in Declined state?
def isApproved():
Is this nomination in Approved state?
@call_with(REQUEST_USER)
@export_read_operation()
def canApprove(person):
Is this person allowed to approve the nomination?
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.