

def request(self, method, url, params=None, data=None, **kwargs):
    response = super(CachedSession, self).request(method, url, _normalize_parameters(params), _normalize_parameters(data), **kwargs)
    if self._is_cache_disabled:
        return response
    main_key = main_key.cache.create_key(response.request)
    for r in response.history:
        self.cache.add_key_mapping(self.cache.create_key(r.request), main_key)
    return response

dataset/ETHPy150Open reclosedev/requests-cache/requests_cache/core.py CachedSession.request/VarMisuse@67/79 `self`->`main_key`