l.a.b.v.IPickerEntrySource(Interface) : interface documentation

Part of lp.app.browser.vocabulary View In Hierarchy

An adapter used to convert vocab terms to picker entries.
Method getPickerEntries Return picker entries for the specified term values.
def getPickerEntries(term_values, context_object, **kwarg):
Return picker entries for the specified term values.
Parametersterm_valuesa collection of vocab term values
context_objectthe current context used to determine any affiliation for the resulting picker entries. eg a picker used to select a bug task assignee will have context_object set to the bug task.
API Documentation for Launchpad, generated by pydoctor at 2020-10-29 00:01:47.