l.b.i.w.IHasBugs(Interface) : interface documentation

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

Known subclasses: lp.bugs.interfaces.webservice.IBugTarget, lp.bugs.interfaces.webservice.IMaloneApplication, lp.registry.interfaces.milestone.IMilestoneData, lp.registry.interfaces.person.IPersonViewRestricted, lp.registry.interfaces.projectgroup.IProjectGroupPublic

An entity which has a collection of bug tasks.
Method searchTasks Search the IBugTasks reported on this entity.
Method getBugTaskWeightFunction Return a function that is used to weight the bug tasks.
@call_with(None, REQUEST_USER)
@operation_parameters()
@operation_returns_collection_of(IBugTask)
@export_read_operation()
@operation_removed_in_version('devel')
@call_with(None, REQUEST_USER)
@operation_parameters()
@operation_returns_collection_of(IBugTask)
@export_read_operation()
@operation_for_version('beta')
def searchTasks(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, affected_user=None, 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, structural_subscriber=None, modified_since=None, created_since=None, created_before=None, information_type=None):
Search the IBugTasks reported on this entity.

Return an iterable of matching results.

Note: milestone is currently ignored for all IBugTargets except IProduct.

In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.

Unknown Field: search_paramsa BugTaskSearchParams object
def getBugTaskWeightFunction():
Return a function that is used to weight the bug tasks.

The function should take a bug task as a parameter and return an OrderedBugTask.

The ordered bug tasks are used to choose the most relevant bug task for any particular context.

API Documentation for Launchpad, generated by pydoctor at 2019-11-16 00:00:19.