summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-10-27 10:36:01 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-10-27 10:36:01 -0500
commit974645cb682892f873338fa33e095f2073c7da45 (patch)
tree06bec45cbe7a7f662e442008cda447b24cb2cfc1
parent90d2b87c14c990c732b52e6abea907e4ef86166f (diff)
downloadrequests-cache-974645cb682892f873338fa33e095f2073c7da45.tar.gz
Fix a new type checking issue
-rw-r--r--requests_cache/backends/sqlite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/requests_cache/backends/sqlite.py b/requests_cache/backends/sqlite.py
index 7262fdc..29bbf97 100644
--- a/requests_cache/backends/sqlite.py
+++ b/requests_cache/backends/sqlite.py
@@ -102,7 +102,7 @@ class SQLiteCache(BaseCache):
def __init__(self, db_path: AnyPath = 'http_cache', **kwargs):
super().__init__(**kwargs)
- self.responses = SQLitePickleDict(db_path, table_name='responses', **kwargs)
+ self.responses: SQLiteDict = SQLitePickleDict(db_path, table_name='responses', **kwargs)
self.redirects = SQLiteDict(db_path, table_name='redirects', **kwargs)
@property