l.b.i.b.IHasOfficialBugTags(Interface) : interface documentation

Part of lp.bugs.interfaces.bugtarget View In Hierarchy

Known subclasses: lp.bugs.interfaces.bugtarget.IOfficialBugTagTargetPublic, lp.registry.interfaces.distroseries.IDistroSeriesPublic, lp.registry.interfaces.milestone.IMilestoneData, lp.registry.interfaces.productseries.IProductSeriesView, lp.registry.interfaces.projectgroup.IProjectGroupPublic, lp.registry.interfaces.sourcepackage.ISourcePackagePublic, lp.registry.interfaces.webservice.IDistributionSourcePackage

An entity that exposes a set of official bug tags.
Method getUsedBugTagsWithOpenCounts Return name and bug count of tags having open bugs.
Method _getOfficialTagClause Get the storm clause for finding this targets tags.
def getUsedBugTagsWithOpenCounts(user, tag_limit=0, include_tags=None):
Return name and bug count of tags having open bugs.
ParametersuserThe user who wants the report.
tag_limitThe number of tags to return (excludes those found by matching include_tags). If 0 then all tags are returned. If non-zero then the most frequently used tags are returned.
include_tagsA list of string tags to return irrespective of usage. Tags in this list that have no open bugs are returned with a count of 0. May be None if there are tags to require inclusion of.
ReturnsA dict from tag -> count.
def _getOfficialTagClause():
Get the storm clause for finding this targets tags.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.