l.s.i.a.IArchiveSubscriberSetView(Interface) : interface documentation

Part of lp.soyuz.interfaces.archivesubscriber View In Hierarchy

Known subclasses: lp.soyuz.interfaces.archivesubscriber.IArchiveSubscriberSet

An interface for launchpad.View ops on all archive subscribers.
Method getBySubscriber Return all the subscriptions for a person.
Method getBySubscriberWithActiveToken Return all the subscriptions for a person with the correspending
Method getByArchive Return all the subscriptions for an archive.
def getBySubscriber(subscriber, archive=None, current_only=True):
Return all the subscriptions for a person.
ParameterssubscriberAn IPerson for whom to return all ArchiveSubscriber records.
archiveAn optional IArchive which restricts the results to that particular archive.
current_onlyWhether the result should only include current subscriptions (which is the default).
def getBySubscriberWithActiveToken(subscriber, archive=None):
Return all the subscriptions for a person with the correspending token for each subscription.
ParameterssubscriberAn IPerson for whom to return all ArchiveSubscriber records.
archiveAn optional IArchive which restricts the results to that particular archive.
Returnsa storm ResultSet of (IArchiveSubscriber, IArchiveAuthToken or None) tuples.
def getByArchive(archive, current_only=True):
Return all the subscriptions for an archive.
ParametersarchiveAn IArchive for which to return all ArchiveSubscriber records.
current_onlyWhether the result should only include current subscriptions (which is the default).
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.