c.l.i.c.ISectionSchema(Interface) : interface documentation

Part of canonical.lazr.interfaces.config View In Hierarchy

Known subclasses: canonical.lazr.interfaces.config.ISection

Defines the valid keys and default values for a configuration group.
Attribute name The section name.
Attribute optional Is the section optional in the config?
Attribute category_and_section_names A 2-Tuple of the category and specific name parts.
Method __iter__ Iterate over the keys.
Method __contains__ Return True or False if name is a key.
Method __getitem__ Return the default value of the key.
name =
The section name.
optional =
Is the section optional in the config?
category_and_section_names =
A 2-Tuple of the category and specific name parts.
def __iter__():
Iterate over the keys.
def __contains__(name):
Return True or False if name is a key.
def __getitem__(key):
Return the default value of the key.
RaisesKeyErrorif the key does not exist.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.