assembl.lib.plaster module¶
-
class
assembl.lib.plaster.Loader(uri)[source]¶ Bases:
plaster_pastedeploy.Loader-
get_settings(section=None, defaults=None)[source]¶ Gets a named section from the configuration source.
- Parameters
section – a
strrepresenting the section you want to retrieve from the configuration source. IfNonethis will fallback to theplaster.PlasterURL.fragment.defaults – a
dictthat will get passed toconfigparser.ConfigParserand will populate theDEFAULTsection.
- Returns
A
collections.OrderedDictwith key value pairs as parsed byconfigparser.ConfigParser.
-