l.r.i.a.IHasAnnouncements(Interface) : interface documentation

Part of lp.registry.interfaces.announcement View In Hierarchy

Known subclasses: lp.registry.interfaces.announcement.IAnnouncementSet, lp.registry.interfaces.announcement.IMakesAnnouncements

A mixin class for pillars that have announcements.
Method getAnnouncement Return the requested announcement.
Method getAnnouncements Return a list of announcements visible to this user.
def getAnnouncement(id):
Return the requested announcement.
def getAnnouncements(limit=5, published_only=True):
Return a list of announcements visible to this user.
Parameterslimitrestrict the results to limit announcements. If None is used as the limit then a full list is returned.
published_onlywhen True the list will include only published announcements.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.