l.b.m.b.HasBugsBase : class documentation

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

Known subclasses: lp.bugs.model.bugtarget.BugTargetBase, lp.registry.model.milestone.Milestone, lp.registry.model.milestone.ProjectMilestone, lp.registry.model.person.Person, lp.systemhomes.MaloneApplication

Standard functionality for IHasBugs.

All IHasBugs implementations should inherit from this class or from BugTargetBase.

Method searchTasks See IHasBugs.
Method getBugSummaryContextWhereClause Return a storm clause to filter bugsummaries on this context.
Method getBugTaskWeightFunction Default weight function is the simple one.
Method _customizeSearchParams Customize search_params for a specific target.
def searchTasks(self, search_params, user=None, order_by=None, search_text=None, status=None, importance=None, assignee=None, bug_reporter=None, bug_supervisor=None, bug_commenter=None, bug_subscriber=None, owner=None, structural_subscriber=None, affected_user=None, affects_me=False, has_patch=None, has_cve=None, distribution=None, tags=None, tags_combinator=BugTagsSearchCombinator.ALL, omit_duplicates=True, omit_targeted=None, status_upstream=None, milestone=None, component=None, nominated_for=None, sourcepackagename=None, has_no_package=None, hardware_bus=None, hardware_vendor_id=None, hardware_product_id=None, hardware_driver_name=None, hardware_driver_package_name=None, hardware_owner_is_bug_reporter=None, hardware_owner_is_affected_by_bug=False, hardware_owner_is_subscribed_to_bug=False, hardware_is_linked_to_bug=False, linked_branches=None, linked_blueprints=None, modified_since=None, created_since=None, created_before=None, information_type=None):
See IHasBugs.
def _customizeSearchParams(self, search_params):
Customize search_params for a specific target.
def getBugSummaryContextWhereClause(self):
Return a storm clause to filter bugsummaries on this context.
ReturnsEither a storm clause to filter bugsummaries, or False if there cannot be any matching bug summaries.
def getBugTaskWeightFunction(self):
Default weight function is the simple one.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.