l.s.f.r.MemoryFeatureRuleSource(FeatureRuleSource) : class documentation

Part of lp.services.features.rulesource View In Hierarchy

Access feature rules stored in non-persistent memory.
Method __init__ Undocumented
Method getAllRulesAsTuples Generate list of (flag, scope, priority, value)
Method setAllRules Replace all existing rules with a new set.

Inherited from FeatureRuleSource:

Method getAllRulesAsDict Return all rule definitions.
Method getAllRulesAsText Return a text for of the rules.
Method setAllRulesFromText Update all rules from text input.
Method parseRules Return a list of tuples for the parsed form of the text input.
def __init__(self):
Undocumented
def getAllRulesAsTuples(self):
Generate list of (flag, scope, priority, value)
def setAllRules(self, new_rules):
Replace all existing rules with a new set.
Parametersnew_rulesList of (name, scope, priority, value) tuples.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.