summaryrefslogtreecommitdiff
path: root/requests_cache/backends
diff options
context:
space:
mode:
Diffstat (limited to 'requests_cache/backends')
-rw-r--r--requests_cache/backends/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/requests_cache/backends/base.py b/requests_cache/backends/base.py
index c6908d6..a1c6863 100644
--- a/requests_cache/backends/base.py
+++ b/requests_cache/backends/base.py
@@ -239,10 +239,10 @@ class BaseCache:
"""Show a count of total **rows** currently stored in the backend. For performance reasons,
this does not check for invalid or expired responses.
"""
- return f'Total rows: {len(self.responses)} responses, {len(self.redirects)} redirects'
+ return f'<{self.__class__.__name__}(name={self.cache_name})>'
def __repr__(self):
- return f'<{self.__class__.__name__}(name={self.cache_name})>'
+ return str(self)
class BaseStorage(MutableMapping, ABC):