l.r.v.DistroSeriesDerivationVocabulary(FilteredVocabularyBase) : class documentation

Part of lp.registry.vocabularies View In Hierarchy

A vocabulary source for series to derive from.

Once a distribution has a series that has derived from a series in another distribution, all other derived series must also derive from a series in the same distribution.

A distribution can have non-derived series. Any of these can be changed to derived at a later date, but as soon as this happens, the above rule applies.

Also, a series must have architectures setup in LP to be a potential parent.

It is permissible for a distribution to have both derived and non-derived series at the same time.

Method __init__ Create a new vocabulary for the context.
Method __len__ See IIterableVocabulary.
Method __iter__ See IIterableVocabulary.
Method __contains__ See IVocabulary.
Method getTerm See IVocabulary.
Method terms_by_token Mapping of terms by token.
Method getTermByToken Undocumented
Method toTerm Return the term for a parent series.
Method searchForTerms See IHugeVocabulary.
Method terms Undocumented
Method find_terms Return a tuple of terms matching the given criteria.
Method searchParents See IHugeVocabulary.

Inherited from FilteredVocabularyBase:

Method __getattribute__ Undocumented
Method supportedFilters Undocumented
def __init__(self, context):
Create a new vocabulary for the context.
ParameterscontextIt should adaptable to IDistroSeries.
def __len__(self):
See IIterableVocabulary.
def __iter__(self):
See IIterableVocabulary.
def __contains__(self, value):
See IVocabulary.
def getTerm(self, value):
See IVocabulary.
def terms_by_token(self):
Mapping of terms by token.
def getTermByToken(self, token):
Undocumented
def toTerm(self, series):
Return the term for a parent series.
def searchForTerms(self, query=None, vocab_filter=None):
See IHugeVocabulary.
@cachedproperty
def terms(self):
Undocumented
def find_terms(self, *where):
Return a `tuple` of terms matching the given criteria.

The terms are returned in order. The `Distribution`s related to those
terms are preloaded at the same time.
def searchParents(self, query=None):
See IHugeVocabulary.
API Documentation for Launchpad, generated by pydoctor at 2019-03-20 00:00:04.