<commit_before>from rest_framework_extensions.cache.decorators import CacheResponse as BaseCacheResponse


class APIV2CacheResponseDetail(BaseCacheResponse):
    def __init__(self,
                 timeout='object_cache_timeout',
                 key_func='object_cache_key_func',
                 cache='api_v2',
                 cache_errors=None):
        super().__init__(timeout='object_cache_timeout',
                         key_func='object_cache_key_func',
                         cache='api_v2',
                         cache_errors=None)


cache_response_detail = APIV2CacheResponseDetail


class APIV2CacheResponseList(BaseCacheResponse):
    def __init__(self,
                 timeout='object_cache_timeout',
                 key_func='object_cache_key_func',
                 cache='api_v2',
                 cache_errors=None):
        super().__init__(timeout='list_cache_timeout',
                         key_func='list_cache_key_func',
                         cache='api_v2',
                         cache_errors=None)


cache_response_list = APIV2CacheResponseList<commit_msg>use default values in decorator<commit_after>from rest_framework_extensions.cache.decorators import CacheResponse as BaseCacheResponse


class APIV2CacheResponseDetail(BaseCacheResponse):
    def __init__(self,
                 timeout='object_cache_timeout',
                 key_func='object_cache_key_func',
                 cache='api_v2',
                 cache_errors=None):
        super().__init__(timeout=timeout,
                         key_func=key_func,
                         cache=cache,
                         cache_errors=cache_errors)


cache_response_detail = APIV2CacheResponseDetail


class APIV2CacheResponseList(BaseCacheResponse):
    def __init__(self,
                 timeout='list_cache_timeout',
                 key_func='list_cache_key_func',
                 cache='api_v2',
                 cache_errors=None):
        super().__init__(timeout=timeout,
                         key_func=key_func,
                         cache=cache,
                         cache_errors=cache_errors)


cache_response_list = APIV2CacheResponseList
{'fraction_non_alphanumeric': 0.070902394106814, 'fraction_numerical': 0.006445672191528545, 'mean_word_length': 2.022253129346314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3684677', 'n_tokens_mistral': 552, 'n_tokens_neox': 531, 'n_words': 71}