def template_preferences(pulses_plugin, template_sequence):
    """Preferences corresponding to the template sequence.

    """
    infos = pulses_plugin.get_item_infos(template_sequence)
    return infos.metadata['template-config']