l.b.m.b.BugAttachment(SQLBase) : class documentation

Part of lp.bugs.model.bugattachment View In Hierarchy

A bug attachment.
Method message This is a cachedproperty to allow message to be an IIndexedMessage.
Method is_patch See IBugAttachment.
Method removeFromBug See IBugAttachment.
Method destroySelf See IBugAttachment.
Method getFileByName See IBugAttachment.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method __repr__ Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
@cachedproperty
def message(self):
This is a cachedproperty to allow message to be an IIndexedMessage.

This is needed for the bug/attachments API call which needs to index an IIndexedMessage rather than a simple DB model IMessage. See Bug.attachments where the injection occurs.

@property
def is_patch(self):
See IBugAttachment.
def removeFromBug(self, user):
See IBugAttachment.
def destroySelf(self):
See IBugAttachment.
def getFileByName(self, filename):
See IBugAttachment.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.