l.r.v.BasePersonVocabulary : class documentation

Part of lp.registry.vocabularies View In Hierarchy

Known subclasses: lp.registry.vocabularies.NonMergedPeopleAndTeamsVocabulary, lp.registry.vocabularies.PersonAccountToMergeVocabulary, lp.registry.vocabularies.ValidPersonOrTeamVocabulary

This is a base class used by all different Person Vocabularies.
Method toTerm Return the term for this object.
Method getTermByToken Return the term for the given token.
def toTerm(self, obj):
Return the term for this object.
def getTermByToken(self, token):
Return the term for the given token.

If the token contains an '@', treat it like an email. Otherwise, treat it like a name.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.