summaryrefslogtreecommitdiff
path: root/requests_cache
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-03-24 15:27:57 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-03-24 15:35:51 -0500
commitc4fd835c935c699ee8e4950afc59bafca6b10f69 (patch)
tree58de429010446a78e80477fd90d83b280d9b9a4e /requests_cache
parente680611d450cc5bec0a8b956275341f61962f5a0 (diff)
downloadrequests-cache-c4fd835c935c699ee8e4950afc59bafca6b10f69.tar.gz
Enable DynamoDB integration test with GitHub Actions and local docker-compose; use in-memory database
Diffstat (limited to 'requests_cache')
-rw-r--r--requests_cache/backends/base.py2
-rw-r--r--requests_cache/core.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/requests_cache/backends/base.py b/requests_cache/backends/base.py
index 8e8aeb5..4c229ed 100644
--- a/requests_cache/backends/base.py
+++ b/requests_cache/backends/base.py
@@ -181,7 +181,7 @@ class BaseStorage(MutableMapping):
"""Base class for backend storage implementations
Args:
- secret_key: Optional secret key used to sign cache items
+ secret_key: Optional secret key used to sign cache items for added security
salt: Optional salt used to sign cache items
serializer: Custom serializer that provides ``loads`` and ``dumps`` methods
"""
diff --git a/requests_cache/core.py b/requests_cache/core.py
index 554b702..67d69be 100644
--- a/requests_cache/core.py
+++ b/requests_cache/core.py
@@ -236,6 +236,7 @@ class CachedSession(CacheMixin, OriginalSession):
returns a boolean indicating whether or not that response should be cached. Will be
applied to both new and previously cached responses.
old_data_on_error: Return expired cached responses if new request fails
+ secret_key: Optional secret key used to sign cache items for added security
**Cache Name:**