l.r.i.w.IDistributionSet(Interface) : interface documentation

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

Interface for DistrosSet
Attribute title Title
Method __iter__ Iterate over all distributions.
Method __getitem__ Retrieve a distribution by name
Method getDistros Return all distributions.
Method count Return the number of distributions in the system.
Method get Return the IDistribution with the given distributionid.
Method getByName Return the IDistribution with the given name or None.
Method new Create a new distribution.
Method getCurrentSourceReleases Lookup many distribution source package releases.
Method getDerivedDistributions Find derived distributions.
title =
Title
def __iter__():
Iterate over all distributions.

Ubuntu and its flavours will always be at the top of the list, with the other ones sorted alphabetically after them.

def __getitem__(name):
Retrieve a distribution by name
@collection_default_content()
def getDistros():
Return all distributions.

Ubuntu and its flavours will always be at the top of the list, with the other ones sorted alphabetically after them.

def count():
Return the number of distributions in the system.
def get(distributionid):
Return the IDistribution with the given distributionid.
def getByName(distroname):
Return the IDistribution with the given name or None.
def new(name, display_name, title, description, summary, domainname, members, owner, registrant, mugshot=None, logo=None, icon=None):
Create a new distribution.
def getCurrentSourceReleases(distro_to_source_packagenames):
Lookup many distribution source package releases.
Parametersdistro_to_source_packagenamesA dictionary with its keys being IDistribution and its values a list of ISourcePackageName.
ReturnsA dict as per IDistribution.getCurrentSourceReleases
def getDerivedDistributions():
Find derived distributions.
ReturnsAn iterable of all derived distributions (not including Ubuntu, even if it is technically derived from Debian).
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.