l.b.b.b.BugTasksTableView(LaunchpadView) : class documentation

Part of lp.bugs.browser.bugtask View In Hierarchy

Browser class for rendering the bugtasks table.
Method __init__ Ensure we always have a bug context.
Method initialize Cache the list of bugtasks and set up the release mapping.
Method caching_milestone_vocabulary Undocumented
Method milestones Undocumented
Method getTargetLinkTitle Return text to put as the title for the link to the target.
Method getBugTaskAndNominationViews Return the IBugTasks and IBugNominations views for this bug.
Method _getTableRowView Get the view for the context, and initialize it.
def __init__(self, context, request):
Ensure we always have a bug context.
def initialize(self):
Cache the list of bugtasks and set up the release mapping.
@cachedproperty
def caching_milestone_vocabulary(self):
Undocumented
@cachedproperty
def milestones(self):
Undocumented
def getTargetLinkTitle(self, target):
Return text to put as the title for the link to the target.
def _getTableRowView(self, context, is_converted_to_question, is_conjoined_slave):
Get the view for the context, and initialize it.

The view's is_conjoined_slave and is_converted_to_question attributes are set, as well as the edit view.

def getBugTaskAndNominationViews(self):
Return the IBugTasks and IBugNominations views for this bug.

Returns a list of views, sorted by the context's targetname, with upstream tasks sorted before distribution tasks, and nominations sorted after tasks. Approved nominations are not included in the returned results.

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