def get_cached(self, url, params=None):
    '\n        Basic Caching mechanism for Jira metadata which changes infrequently\n        '
    query = ''
    if params:
        query = json.dumps(params, sort_keys=True)
    key = (self.jira_style.cache_prefix + md5(url, query, self.base_url).hexdigest())
    cached_result = cache.get(key)
    if (not cached_result):
        cached_result = self.get(url, params=params)
        cache.set(key, cached_result, 240)
    return cached_result
Basic Caching mechanism for Jira metadata which changes infrequently
def get_cached(self, url, params=None):
    '\n        \n        '
    query = 
    if params:
        query = json.dumps(params, sort_keys=True)
    key = (self.jira_style.cache_prefix + md5(url, query, self.base_url).hexdigest())
    cached_result = cache.get(key)
    if (not cached_result):
        cached_result = self.get(url, params=params)
        cache.set(key, cached_result, 240)
    return cached_result