from configspec import * from shepherd import PluginInterface interface = PluginInterface() confspec = ConfigSpecification() confspec.add_spec("spec1", StringSpec()) confspec2 = ConfigSpecification() confspec2.add_spec("spec2", StringSpec()) interface.register_confspec(confspec2)