l.r.i.d.IDistroSeriesParentSet(Interface) : interface documentation

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

DistroSeriesParentSet interface.
Method new Create a new DistroSeriesParent.
Method getByDerivedSeries Get the DistroSeriesParent by derived series.
Method getByParentSeries Get the DistroSeriesParent by parent series.
Method getByDerivedAndParentSeries Get the DistroSeriesParent by derived and parent series.
Method getFlattenedOverlayTree Get the list of DistroSeriesParents corresponding to the
def new(derived_series, parent_series, initialized, is_overlay=False, pocket=None, component=None, ordering=1, inherit_overrides=False):
Create a new DistroSeriesParent.
def getByDerivedSeries(derived_series):
Get the DistroSeriesParent by derived series.
Parametersderived_seriesAn IDistroseries
def getByParentSeries(parent_series):
Get the DistroSeriesParent by parent series.
Parametersparent_seriesAn IDistroseries
def getByDerivedAndParentSeries(derived_series, parent_series):
Get the DistroSeriesParent by derived and parent series.
Parametersderived_seriesThe derived IDistroseries
parent_seriesThe parent IDistroseries
def getFlattenedOverlayTree(derived_series):
Get the list of DistroSeriesParents corresponding to the
flattened overlay tree.

:param parent_series: An `IDistroseries`.
:return: A list of `IDistroSeriesParents`.

For instance, given the following structure:

             series               type of relation:
               |                    |           |
    -----------------------         |           o
    |          |          |         |           |
    o          o          |      no overlay  overlay
    |          |          |
parent1    parent2    parent3

The result would be:
[dsp(series, parent1), dsp(series, parent2)]
API Documentation for Launchpad, generated by pydoctor at 2019-09-20 00:00:05.