Пример #1
0
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'))
Пример #2
0
def template_load_config(template):
    """
    Load the configuration for the given template
    """
    return templateconfig.load_config(template_path(template, 'template.py'))