Esempio n. 1
0
def projects_tag_counts():
    return Cache.get(CacheKeys.ProjectTagCounts.value, generator_func=_projects_tag_counts)
Esempio n. 2
0
 def get(self, event=None, group=None):
     key = self._get_key(event=event, group=group)
     return Cache.get(key) or self.refresh(event=event, group=group)
Esempio n. 3
0
 def get(self, project):
     return Cache.get(self._get_key(project))
Esempio n. 4
0
 def get(self, group):
     return Cache.get(self._get_key(group))