l.r.i.p.IProductSeriesSet(Interface) : interface documentation

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

Interface representing the set of ProductSeries.
Method __getitem__ Return the ProductSeries with the given id.
Method get Return the ProductSeries with the given id.
Method findByTranslationsImportBranch Find all series importing translations from the branch.
def __getitem__(series_id):
Return the ProductSeries with the given id.

Raise NotFoundError if there is no such series.

def get(series_id, default=None):
Return the ProductSeries with the given id.

Return the default value if there is no such series.

def findByTranslationsImportBranch(branch, force_translations_upload=False):
Find all series importing translations from the branch.

Returns all product series that have the given branch set as their branch and that have translation imports enabled on it. :param branch: The branch to filter for. XXX: henninge 2010-03-16 bug=521095: The following parameter should go away once force_translations_upload becomes a product series instead of a boolean. :param force_translations_upload: Actually ignore if translations are enabled for this series.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.