c.l.b.vocabulary : module documentation

Part of canonical.launchpad.browser

Views which export vocabularies as JSON for widgets.
Interface IPickerEntry Additional fields that the vocabulary doesn't provide.
Class PickerEntry See IPickerEntry.
Function default_pickerentry_adapter Adapts Interface to IPickerEntry.
Function person_to_pickerentry Adapts IPerson to IPickerEntry.
Function branch_to_pickerentry Adapts IBranch to IPickerEntry.
Function sourcepackagename_to_pickerentry Adapts ISourcePackageName to IPickerEntry.
Class HugeVocabularyJSONView Export vocabularies as JSON.
@implementer(IPickerEntry)
@adapter(Interface)
def default_pickerentry_adapter(obj):
Adapts Interface to IPickerEntry.
@implementer(IPickerEntry)
@adapter(IPerson)
def person_to_pickerentry(person):
Adapts IPerson to IPickerEntry.
@implementer(IPickerEntry)
@adapter(IBranch)
def branch_to_pickerentry(branch):
Adapts IBranch to IPickerEntry.
@implementer(IPickerEntry)
@adapter(ISourcePackageName)
def sourcepackagename_to_pickerentry(sourcepackagename):
Adapts ISourcePackageName to IPickerEntry.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.