l.r.m.p.IHasAffiliation(Interface) : interface documentation

Part of lp.registry.model.pillaraffiliation View In Hierarchy

The affiliation status of a person with a context.
Method getAffiliationBadges Return the badges for the type of affiliation each person has.
def getAffiliationBadges(persons):
Return the badges for the type of affiliation each person has.

The return value is a list of namedtuples: BadgeDetails(url, label, role)

If a person has no affiliation with this object, their entry is None.

API Documentation for Launchpad, generated by pydoctor at 2019-09-23 00:00:04.