def template_load_instance_config(prefix): """ Load the configuration for an instance with the given prefix """ return templateconfig.load_config(service.service_path(prefix, 'template.py'))
def template_load_config(template): """ Load the configuration for the given template """ return templateconfig.load_config(template_path(template, 'template.py'))