l.b.i.b.IBugMessageSet(Interface) : interface documentation

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

The set of all IBugMessages.
Method createMessage Create an IBugMessage.
Method get Retrieve an IBugMessage by its ID.
Method getByBugAndMessage Return the corresponding IBugMesssage.
Method getImportedBugMessages Return all the imported IBugMesssages for a bug.
def createMessage(subject, bug, owner, content=None):
Create an IBugMessage.

title -- a string bug -- an IBug owner -- an IPerson content -- a string

The created message will have the bug's initial message as its parent.

Returns the created IBugMessage.

def get(bugmessageid):
Retrieve an IBugMessage by its ID.
def getByBugAndMessage(bug, message):
Return the corresponding IBugMesssage.

Return None if no such IBugMesssage exists.

def getImportedBugMessages(bug):
Return all the imported IBugMesssages for a bug.

An IBugMesssage is considered imported if it's linked to a bug watch.

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