l.r.adapters : module documentation

Part of lp.registry

Adapters for registry objects.
Function sourcepackage_to_distribution Adapts ISourcePackage object to IDistribution.
Function distroseries_to_distribution Adapts IDistroSeries object to IDistribution.
Function person_from_principal Adapt ILaunchpadPrincipal to IPerson.
Class PollSubset Adapt an IPoll to an IPollSubset.
Function productseries_to_product Adapts IProductSeries object to IProduct.
Function distribution_to_publisherconfig Adapts IDistribution to IPublisherConfig.
Function package_to_sourcepackagename Adapts a package to its ISourcePackageName.
Function information_type_from_product Adapts a milestone to product for information_type.
def sourcepackage_to_distribution(source_package):
Adapts ISourcePackage object to IDistribution.

This also supports IDistributionSourcePackage

def distroseries_to_distribution(distroseries):
Adapts IDistroSeries object to IDistribution.

This is useful for adapting to IServiceUsage or ILaunchpadUsage.

def person_from_principal(principal):
Adapt ILaunchpadPrincipal to IPerson.
def productseries_to_product(productseries):
Adapts IProductSeries object to IProduct.

This is useful for adapting to IHasExternalBugTracker or ILaunchpadUsage.

def distribution_to_publisherconfig(distro):
Adapts IDistribution to IPublisherConfig.
def package_to_sourcepackagename(package):
Adapts a package to its ISourcePackageName.
def information_type_from_product(milestone):
Adapts a milestone to product for information_type.
API Documentation for Launchpad, generated by pydoctor at 2018-02-25 00:00:04.