l.r.m.product : module documentation

Part of lp.registry.model

Database classes including and related to Product.
Class LicensesModifiedEvent See ILicensesModifiedEvent.
Function get_license_status Decide the licence status for an IProduct.
Class UnDeactivateable Raised when a project is requested to deactivate but can not.
Class Product A Product.
Function get_precached_products Load and cache product information.
Function get_milestones_and_releases Bulk load the milestone and release information for the products.
Function get_distro_sourcepackages Bulk load the source package information for the products.
Class ProductSet No class docstring; 3/5 class methods, 10/20 methods, 0/1 static methods documented
def get_license_status(license_approved, project_reviewed, licenses):
Decide the licence status for an IProduct.
ReturnsA LicenseStatus enum value.
def get_precached_products(products, need_licences=False, need_projectgroups=False, need_series=False, need_releases=False, role_names=None, need_role_validity=False, need_codehosting_usage=False, need_packages=False):
Load and cache product information.
Parametersproductsthe products for which to pre-cache information
need_licenceswhether to cache license information
need_projectgroupswhether to cache project group information
need_serieswhether to cache series information
need_releaseswhether to cache release information
role_namesthe role names to cache eg bug_supervisor
need_role_validitywhether to cache validity information
need_codehosting_usagewhether to cache codehosting usage information
Returnsa list of products
def get_milestones_and_releases(products):
Bulk load the milestone and release information for the products.
def get_distro_sourcepackages(products):
Bulk load the source package information for the products.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.