l.b.b.p.GenericWorkItem : class documentation

Part of lp.blueprints.browser.person_upcomingwork View In Hierarchy

A generic piece of work; either a BugTask or a SpecificationWorkItem.

This class wraps a BugTask or a SpecificationWorkItem to provide a common API so that the template doesn't have to worry about what kind of work item it's dealing with.

Method __init__ Undocumented
Class Method from_bugtask Undocumented
Class Method from_workitem Undocumented
Method milestone Undocumented
Method actual_workitem Return the actual work item that we are wrapping.
Method is_complete Undocumented
def __init__(self, assignee, status, priority, target, title, bugtask=None, work_item=None):
Undocumented
@classmethod
def from_bugtask(cls, bugtask):
Undocumented
@classmethod
def from_workitem(cls, work_item):
Undocumented
@property
def milestone(self):
Undocumented
@property
def actual_workitem(self):
Return the actual work item that we are wrapping.

This may be either an IBugTask or an ISpecificationWorkItem.

@property
def is_complete(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.