mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-30 02:50:03 -04:00
This is slightly less efficient than getting the folder dicts from "get_user_template_folders" directly, since: - TemplateList returns both templates and folders. - TemplateList encapsulates the dicts in model classes. We'll compensate for this later on: - We'll introduce a new caching approach to make the call fast. - We'll expose a property to avoid the "if" in the comprehension.