lpltk.bug_tasks.BugTasks : API documentation

# l.b.BugTasks(object) : class documentation

Part of lpltk.bug_tasks View In Hierarchy

No class docstring

Method | __init__ | Undocumented
Method | filtered_tasks | Undocumented
Method | __len__ | Undocumented
Method | __getitem__ | Undocumented
Method | __iter__ | Undocumented
Method | __contains__ | Undocumented
Method | set_filter_by_distro | Only include tasks that are targeted to the given distro
Method | set_filter_by_status | Include tasks only in the specified state
Method | set_filter_by_bug_tracker_type | Include only tasks for upstream projects using this type of bug tracker

def __init__(self, service, lp_tasks):
Undocumented
def filtered_tasks(self):
Undocumented
def __len__(self):
Undocumented
def __getitem__(self, key):
Undocumented
def __iter__(self):
Undocumented
def __contains__(self, item):
Undocumented
def set_filter_by_distro(self, distroname='Ubuntu'):
Only include tasks that are targeted to the given distro

def set_filter_by_status(self, state):
Include tasks only in the specified state

The regular bug statuses "Incomplete", "Fix Committed", et al are supported, as well as special keywords 'open' and 'complete'.

def set_filter_by_bug_tracker_type(self, bugtracker_type):
Include only tasks for upstream projects using this type of bug tracker