l.b.i.w.IBugLinkTarget(Interface) : interface documentation

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

Known subclasses: lp.blueprints.interfaces.webservice.ISpecification, lp.code.interfaces.branchmergeproposal.IBranchMergeProposalAnyAllowedPerson

An entity which can be linked to bugs.

Examples include an ISpecification.

Method linkBug Link the object with this bug.
Method unlinkBug Remove any link between this object and the bug.
def linkBug(bug, user=None, check_permissions=True, props=None):
Link the object with this bug.

If a new link is created by this method, an ObjectLinkedEvent is sent for each end.

ReturnsTrue if a new link was created, False if it already existed.
def unlinkBug(bug, user=None, check_permissions=True):
Remove any link between this object and the bug.

If a link is removed by this method, an ObjectUnlinkedEvent is sent for each end.

ReturnsTrue if a link was deleted, False if it didn't exist.
API Documentation for Launchpad, generated by pydoctor at 2020-01-24 00:00:18.