diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2022-01-01 12:12:48 -0600 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2022-01-01 12:12:58 -0600 |
commit | e58f491a1e75936f40d2441397d8c6238b63311a (patch) | |
tree | ae54f8d909acde95b3099e038a5f19cb1ea18830 | |
parent | 023b9bf36a4305f5edceece7ac6eabbd16e2e40d (diff) | |
download | requests-cache-e58f491a1e75936f40d2441397d8c6238b63311a.tar.gz |
Fix typo in docs
-rw-r--r-- | requests_cache/backends/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/requests_cache/backends/base.py b/requests_cache/backends/base.py index ddd47e7..6714bcb 100644 --- a/requests_cache/backends/base.py +++ b/requests_cache/backends/base.py @@ -88,8 +88,8 @@ class BaseCache: Args: cache_key: Cache key for this response; will otherwise be generated based on request - response: response to save - expire_after: Time in seconds until this cache item should expire + response: Response to save + expires: Absolute expiration time for this response """ cache_key = cache_key or self.create_key(response.request) cached_response = CachedResponse.from_response(response, expires=expires) |