l.b.b.b.BugsPatchesView(LaunchpadView) : class documentation

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

View list of patch attachments associated with bugs.
Method label The display label for the view.
Method patch_task_orderings The list of possible sort orderings for the patches view.
Method batchedPatchTasks Return a BatchNavigator for bug tasks with patch attachments.
Method targetName Return the name of the current context's target type, or None.
Method patchAge Return a timedelta object for the age of a patch attachment.
Method proxiedUrlForLibraryFile Return the proxied download URL for a Librarian file.
@property
def label(self):
The display label for the view.
@property
def patch_task_orderings(self):

The list of possible sort orderings for the patches view.

The orderings are a list of tuples of the form:
[(DisplayName, InternalOrderingName), ...]
For example:
[("Patch age", "-latest_patch_uploaded"),
("Importance", "-importance"), ...]
def batchedPatchTasks(self):
Return a BatchNavigator for bug tasks with patch attachments.
def targetName(self):
Return the name of the current context's target type, or None.

The name is something like "Package" or "Project" (meaning Product); it is intended to be appropriate to use as a column name in a web page, for example. If no target type is appropriate for the current context, then return None.

def patchAge(self, patch):
Return a timedelta object for the age of a patch attachment.
def proxiedUrlForLibraryFile(self, patch):
Return the proxied download URL for a Librarian file.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.