l.b.m.b.OfficialBugTagTargetMixin : class documentation

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

Known subclasses: lp.registry.model.distribution.Distribution, lp.registry.model.product.Product

See IOfficialBugTagTarget.

This class is intended to be used as a mixin for the classes Distribution, Product and ProjectGroup, which can define official bug tags.

Using this call in ProjectGroup requires a fix of bug 341203, see below, class OfficialBugTag.

See also Bug.official_bug_tags which calculates this efficiently for a single bug.

Method addOfficialBugTag See IOfficialBugTagTarget.
Method removeOfficialBugTag See IOfficialBugTagTarget.
Method _getOfficialTagClause Undocumented
Method _getOfficialTags Get the official bug tags as a sorted list of strings.
Method _setOfficialTags Set the official bug tags from a list of strings.
Method _getTag Return the OfficialBugTag record for the given tag, if it exists.
def _getOfficialTagClause(self):
Undocumented
def _getOfficialTags(self):
Get the official bug tags as a sorted list of strings.
def _setOfficialTags(self, tags):
Set the official bug tags from a list of strings.
def _getTag(self, tag):
Return the OfficialBugTag record for the given tag, if it exists.

If the tag is not defined for this target, None is returned.

def addOfficialBugTag(self, tag):
See IOfficialBugTagTarget.
def removeOfficialBugTag(self, tag):
See IOfficialBugTagTarget.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.