示例#1
0
def projects_tag_counts():
    return Cache.get(CacheKeys.ProjectTagCounts.value, generator_func=_projects_tag_counts)
示例#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)
示例#3
0
 def get(self, project):
     return Cache.get(self._get_key(project))
示例#4
0
 def get(self, group):
     return Cache.get(self._get_key(group))