l.b.f.b.BugsFeedBase(FeedBase) : class documentation

Part of lp.bugs.feed.bug View In Hierarchy

Known subclasses: lp.bugs.feed.bug.BugFeed, lp.bugs.feed.bug.BugTargetBugsFeed, lp.bugs.feed.bug.PersonBugsFeed, lp.bugs.feed.bug.SearchBugsFeed

Abstract class for bug feeds.
Method initialize See LaunchpadView.
Method setupColumns Set up the columns to be displayed in the feed.
Method logo See IFeed.
Method getPublicRawItems Private bugs are not to be shown in feeds.
Method itemToFeedEntry Convert the items to FeedEntries.
Method renderHTML See IFeed.
Method getBugsFromBugTasks Given a list of BugTasks return the list of associated bugs.
Method _sortByDateCreated Undocumented
Method _getRawItems Get the raw set of items for the feed.
Method _getItemsWorker Create the list of items.

Inherited from FeedBase:

Method __init__ Undocumented
Method title See IFeed.
Method link_self See IFeed.
Method site_url See IFeed.
Method link_alternate See IFeed.
Method feed_id See IFeed.
Method getItems See IFeed.
Method feed_format See IFeed.
Method icon See IFeed.
Method date_updated See IFeed.
Method render See IFeed.
Method renderAtom See IFeed.
def initialize(self):
See LaunchpadView.
def setupColumns(self):
Set up the columns to be displayed in the feed.

This method may need to be overridden to customize the display for different feeds.

@property
def logo(self):
See IFeed.
def _sortByDateCreated(self, bugs):
Undocumented
def _getRawItems(self):
Get the raw set of items for the feed.
def getPublicRawItems(self):
Private bugs are not to be shown in feeds.

The list of bugs is screened to ensure no private bugs are returned.

def _getItemsWorker(self):
Create the list of items.

Called by getItems which may cache the results.

def itemToFeedEntry(self, bug):
Convert the items to FeedEntries.
def renderHTML(self):
See IFeed.
def getBugsFromBugTasks(self, tasks):
Given a list of BugTasks return the list of associated bugs.

Since a Bug can have multiple BugTasks, we only select bugs that have not yet been seen.

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