l.s.f.s.FixedScope(BaseScope) : class documentation

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

A scope that matches an exact value.

Functionally ScriptScope and DefaultScope are equivalent to instances of this class, but their docstings are used on the +feature-info page.

Method __init__ Undocumented
Method lookup Returns true if the given scope name is "active".

Inherited from BaseScope:

Method compiled_pattern The compiled scope matching regex. A small optimization.
def __init__(self, scope):
Undocumented
def lookup(self, scope_name):
Returns true if the given scope name is "active".
API Documentation for Launchpad, generated by pydoctor at 2019-04-18 00:00:11.