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

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

Bug activity log entry.
Method target Return the target of this BugActivityItem.
Method attribute Return the attribute changed in this BugActivityItem.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method __repr__ Undocumented
Method destroySelf Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
@property
def target(self):
Return the target of this BugActivityItem.

`target` is determined based on the `whatchanged` string.

:return: The target name of the item if `whatchanged` is of the
form <target_name>: <attribute>. Otherwise, return None.
@property
def attribute(self):
Return the attribute changed in this BugActivityItem.

attribute is determined based on the whatchanged string.

ReturnsThe attribute name of the item if whatchanged is of the form <target_name>: <attribute>. If we know how to determine the attribute by normalizing whatchanged, we return that. Otherwise, return the original whatchanged string.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.