l.r.m.p.PillarNameSet : class documentation

Part of lp.registry.model.pillar View In Hierarchy

No class docstring
Method __contains__ See IPillarNameSet.
Method __getitem__ See IPillarNameSet.
Method getByName Return the pillar with the given name.
Method build_search_query Query parameters shared by search() and count_search_matches().
Method count_search_matches Undocumented
Method search See IPillarSet.
Method add_featured_project See IPillarSet.
Method remove_featured_project See IPillarSet.
Method featured_projects See IPillarSet.
def __contains__(self, name):
See IPillarNameSet.
def __getitem__(self, name):
See IPillarNameSet.
def getByName(self, name, ignore_inactive=False):
Return the pillar with the given name.

If ignore_inactive is True, then only active pillars are considered.

If no pillar is found, None is returned.

def build_search_query(self, user, text):
Query parameters shared by search() and count_search_matches().
ReturnsStorm ResultSet object
def count_search_matches(self, user, text):
Undocumented
def search(self, user, text, limit):
See IPillarSet.
def add_featured_project(self, project):
See IPillarSet.
def remove_featured_project(self, project):
See IPillarSet.
@property
def featured_projects(self):
See IPillarSet.
API Documentation for Launchpad, generated by pydoctor at 2019-09-22 00:00:13.