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 str representing the section you want to retrieve from the configuration source. If None this will fallback to the plaster.PlasterURL.fragment.

  • defaults – a dict that will get passed to configparser.ConfigParser and will populate the DEFAULT section.

Returns

A collections.OrderedDict with key value pairs as parsed by configparser.ConfigParser.