l.r.b.p.SortSeriesMixin : class documentation

Part of lp.registry.browser.product View In Hierarchy

Known subclasses: lp.code.browser.branchlisting.ProductBranchesView, lp.code.browser.branchlisting.ProductBranchSummaryView, lp.registry.browser.product.ProductDownloadFilesView, lp.registry.browser.product.ProductView

Provide access to helpers for series.
Method sorted_series_list Return a sorted list of series.
Method sorted_active_series_list Like sorted_series_list() but filters out OBSOLETE series.
Method _sorted_filtered_list Return a sorted, filtered list of series.
def _sorted_filtered_list(self, filter=None):
Return a sorted, filtered list of series.

The series list is sorted by version in reverse order. It is also filtered by calling filter on every series. If the filter function returns False, don't include the series. With None (the default, include everything).

The development focus is always first in the list.

@property
def sorted_series_list(self):
Return a sorted list of series.

The series list is sorted by version in reverse order. The development focus is always first in the list.

@property
def sorted_active_series_list(self):
Like sorted_series_list() but filters out OBSOLETE series.
API Documentation for Launchpad, generated by pydoctor at 2019-12-13 00:00:05.