summaryrefslogtreecommitdiff
path: root/requests_cache/backends/sqlite.py
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-04-22 00:21:33 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-04-22 00:21:49 -0500
commitdc204a8d7df9c627fcfb2b098a28f2f27fbb31c8 (patch)
tree42265f50f7e44ddd04be46b816e16e9283231312 /requests_cache/backends/sqlite.py
parente78ae33b552f6549b86c4c5355d2b8aae13ee369 (diff)
downloadrequests-cache-dc204a8d7df9c627fcfb2b098a28f2f27fbb31c8.tar.gz
Move storage class __str__ methods to base class, and just show keys instead of items
Diffstat (limited to 'requests_cache/backends/sqlite.py')
-rw-r--r--requests_cache/backends/sqlite.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/requests_cache/backends/sqlite.py b/requests_cache/backends/sqlite.py
index face65e..9c98fcd 100644
--- a/requests_cache/backends/sqlite.py
+++ b/requests_cache/backends/sqlite.py
@@ -143,9 +143,6 @@ class DbDict(BaseStorage):
with self.connection(True) as con:
con.execute("vacuum")
- def __str__(self):
- return str(dict(self.items()))
-
class DbPickleDict(DbDict):
"""Same as :class:`DbDict`, but pickles values before saving"""