summaryrefslogtreecommitdiff
path: root/requests_cache/backends
Commit message (Collapse)AuthorAgeFilesLines
* Enable bugbear extension and fix warningsJordan Cook2023-05-084-3/+11
|
* Fix typosJordan Cook2023-03-011-1/+1
|
* Share SQLite connection objects among threads and use lock for write ↵Jordan Cook2023-03-011-20/+26
| | | | operations instead of using thread-local connections
* Don't use bulk_delete() if only deleting a single keyJordan Cook2023-03-011-1/+8
|
* Change DynamoDB table to use cache key as partition keyJordan Cook2023-03-012-49/+36
|
* Set default serializers for each backend using param defaults instead of ↵Jordan Cook2023-01-137-69/+73
| | | | 'default_serializer' class attributes
* Make CachedResponse.cache_key available from all cache access methodsJordan Cook2022-12-307-19/+25
|
* Fix ambiguous log message for BaseCache.delete()Jordan Cook2022-12-301-1/+1
|
* Update type hints to appease Pylance and stricter mypy settingsJordan Cook2022-12-137-26/+44
|
* Make use of index with SQLiteCache.filter(expired=False)Jordan Cook2022-10-282-14/+22
|
* Add SQLite method to count unexpired responses in SQLJordan Cook2022-10-281-6/+28
|
* Omit invalid responses and set response.cache_key in SQLiteCache.sorted()Jordan Cook2022-10-281-2/+10
|
* Set uri=True when using an in-memory SQLite dbJordan Cook2022-10-281-1/+3
|
* Handle errors due to invalid responses in deserialize(), so it applies to ↵Jordan Cook2022-10-281-8/+16
| | | | other methods besides just get_responses()
* Add more notes on deprecated methodsJordan Cook2022-10-261-1/+13
|
* Add some missing type hintsJordan Cook2022-10-261-2/+2
|
* Add BaseCache.has_key() back; this was intended to be deprecated, not yet ↵Jordan Cook2022-10-261-0/+7
| | | | removed
* Fix backwards-compatibility with deprecated remove_expired_responsesJordan Cook2022-10-261-2/+2
|
* Add 'url' argument to BaseCache.contains() and delete() for similarity to ↵Jordan Cook2022-09-301-3/+11
| | | | has_url() and delete_url()
* Silence DeprecationWarnings during tests for deprecated methodsJordan Cook2022-09-301-7/+10
|
* Add ttl_offset argument for Redis backendJordan Cook2022-09-301-7/+17
|
* Add method to recreate cache keysJordan Cook2022-08-232-0/+17
|
* Add support for VaryJordan Cook2022-06-161-2/+4
|
* Clean up SerializerPipeline.decode_contentJordan Cook2022-06-111-1/+1
|
* Clean up SQLiteCache convenience methods a bitJordan Cook2022-06-111-14/+31
|
* Consolidate BaseCache convenience methods into contains(), filter(), and ↵Jordan Cook2022-06-114-169/+197
| | | | delete()
* Split up remove_expired_reponses() into remove() and reset_expiration() ↵Jordan Cook2022-06-114-69/+84
| | | | methods, with more granular arguments
* Add decode_content option for storage classes, and use as the default ↵Jordan Cook2022-06-105-14/+46
| | | | behavior for Filesystem, DynamoDB, and MongoDB backends
* use https for links谭九鼎2022-05-091-1/+1
|
* Add 'older_than' argument to remove_expired_responses()Jordan Cook2022-05-032-16/+25
|
* Remove row count from BaseCache.__str__Jordan Cook2022-04-221-2/+2
|
* Add a BaseStorage.default_serializer attribute, to be more explicit about ↵Jordan Cook2022-04-227-27/+44
| | | | which backends use something other than pickle by default
* Add SQLiteDict.size() method to estimate the database sizeJordan Cook2022-04-221-1/+17
|
* For SQLite expires column, use time.time() instead of datetime.timestamp()Jordan Cook2022-04-223-18/+15
|
* Merge *PickleDict storage classes into parent classesJordan Cook2022-04-228-108/+80
|
* Fix parameter forwarding for redis-py 4.2 and pymongo 4.1 on python <=3.8Jordan Cook2022-04-214-4/+6
|
* Add misc missing test coverageJordan Cook2022-04-201-4/+2
|
* Add screenshots and info for viewing DynamoDB responsesJordan Cook2022-04-201-1/+0
|
* Add support for DynamoDB TTLJordan Cook2022-04-202-29/+55
|
* Store responses in DynamoDB as JSON documents instead of serialized binariesJordan Cook2022-04-193-18/+31
|
* Create default table in on-demand mode instead of provisionedJordan Cook2022-04-191-12/+10
|
* Ensure BaseCache.cache_name gets set if a backend class is initialized ↵Jordan Cook2022-04-196-6/+6
| | | | directly (mainly for debug/logging purposes)
* Close database connections (if applicable) on CachedSession.__exit__ and close()Jordan Cook2022-04-183-0/+15
|
* Refactor utilities for parsing cache headers into CacheDirectives classJordan Cook2022-04-181-3/+2
|
* Move all cache policy-related modules to separate 'policy' subpackageJordan Cook2022-04-173-4/+4
|
* Move backend docs to user guide, separate from API reference docsJordan Cook2022-04-177-8/+43
|
* Move detailed backend docs from rst docstings to md filesJordan Cook2022-04-167-387/+17
|
* Add serializer name to cache key to avoid errors due to switching serializersJordan Cook2022-04-152-6/+4
|
* Add get_ttl() method for convenienceJordan Cook2022-04-151-8/+21
|
* Skip setting TTL for redirects collectionJordan Cook2022-04-151-4/+2
|