l.s.w.v.VocabularyFilter(namedtuple('VocabularyFilter', ('name', 'title', 'description'))) : class documentation

Part of lp.services.webapp.vocabulary View In Hierarchy

Known subclasses: lp.app.browser.tests.test_vocabulary.TestVocabularyFilter, lp.registry.vocabularies.VocabularyFilterDistribution, lp.registry.vocabularies.VocabularyFilterPerson, lp.registry.vocabularies.VocabularyFilterProject, lp.registry.vocabularies.VocabularyFilterProjectGroup, lp.registry.vocabularies.VocabularyFilterTeam, lp.services.webapp.vocabulary.VocabularyFilterAll

A VocabularyFilter is used to filter the results of searchForTerms()

A filter has the following attributes: name: the filter name, eg ALL, PRODUCT title: the text displayed in the ui, as presented to the user eg 'All' description: the tooltip text

Method filter_terms Query terms used to perform the required filtering.
@property
def filter_terms(self):
Query terms used to perform the required filtering.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.