summaryrefslogtreecommitdiff
path: root/requests_cache/backends/gridfs.py
Commit message (Collapse)AuthorAgeFilesLines
* Enable bugbear extension and fix warningsJordan Cook2023-05-081-1/+1
|
* Set default serializers for each backend using param defaults instead of ↵Jordan Cook2023-01-131-5/+22
| | | | 'default_serializer' class attributes
* Make CachedResponse.cache_key available from all cache access methodsJordan Cook2022-12-301-1/+1
|
* Consolidate BaseCache convenience methods into contains(), filter(), and ↵Jordan Cook2022-06-111-2/+2
| | | | delete()
* Split up remove_expired_reponses() into remove() and reset_expiration() ↵Jordan Cook2022-06-111-2/+2
| | | | methods, with more granular arguments
* Add decode_content option for storage classes, and use as the default ↵Jordan Cook2022-06-101-2/+2
| | | | behavior for Filesystem, DynamoDB, and MongoDB backends
* Add a BaseStorage.default_serializer attribute, to be more explicit about ↵Jordan Cook2022-04-221-1/+5
| | | | which backends use something other than pickle by default
* Merge *PickleDict storage classes into parent classesJordan Cook2022-04-221-4/+4
|
* Fix parameter forwarding for redis-py 4.2 and pymongo 4.1 on python <=3.8Jordan Cook2022-04-211-1/+1
|
* Ensure BaseCache.cache_name gets set if a backend class is initialized ↵Jordan Cook2022-04-191-1/+1
| | | | directly (mainly for debug/logging purposes)
* Move backend docs to user guide, separate from API reference docsJordan Cook2022-04-171-4/+6
|
* Move detailed backend docs from rst docstings to md filesJordan Cook2022-04-161-18/+0
|
* Add 'Use Cases' section to each backend's docsJordan Cook2022-03-171-1/+6
|
* Handle CorruptGridFile error in GridFS backendJordan Cook2022-02-221-6/+11
|
* Add lock around remove_expired_responses() for SQLite, Filesystem, and ↵Jordan Cook2022-02-221-0/+4
| | | | GridFS backends
* Improve GridFS backend thread safetyJordan Cook2022-02-221-13/+24
|
* Move misc minor utils to a separate moduleJordan Cook2021-10-271-1/+1
|
* Make DynamoDB and MongoDB naming consistentJordan Cook2021-08-201-2/+2
|
* Better backend docsJordan Cook2021-08-201-6/+14
|
* Parallelize unit tests per module instead of per functionJordan Cook2021-08-121-2/+3
|
* Add doc section and sample response for YAML serializerJordan Cook2021-07-211-2/+2
|
* extirpated 'is_binary' from pipelinesParker Hancock2021-06-141-2/+3
|
* Integrate serializers with backendsJordan Cook2021-06-111-2/+3
|
* Move storage class __str__ methods to base class, and just show keys instead ↵Jordan Cook2021-04-221-3/+0
| | | | of items
* Allow passing any valid backend connection kwargs via BaseCacheJordan Cook2021-04-191-22/+23
| | | | | | | | * Pass `**kwargs` to backend storage classes, split out any that are valid for the backend-specific connection function/class, and pass them to the connection * Add intersphinx links to docs for dependencies * Update and format some more backend class docstrings * Remove 'Unrecognized keyword arguments' warning from `BaseStorage` * Turn `warnings.warn` about using secret keys into a `logging.warning` (due to complaints about too many messages)
* Replace deprecated pymongo Collection.count() with estimated_document_count()v0.6.3Jordan Cook2021-04-191-1/+1
|
* Update GridFSPickleDict.__delitem__ to raise a KeyError for missing itemsJordan Cook2021-04-121-4/+8
|
* Pass along optional kwargs to all storage classes, and make default table ↵Jordan Cook2021-03-241-4/+5
| | | | names consistent across backends (`'http_cache'`)
* Combine storage classes from backends.storage.* with their respective ↵Jordan Cook2021-03-241-14/+58
| | | | backends in backends.*
* Rename BaseCache.keys_map property and its associated table to 'redirects'Jordan Cook2021-03-241-1/+1
|
* Add sanity checks to get_cache, clear, and remove_expired_responses to make ↵Jordan Cook2021-03-041-3/+3
| | | | sure CachedSession is installed
* Refactor CachedSession to be usable as a mixin classJordan Cook2021-03-041-1/+1
|
* Remove all python 2 compatibilityJordan Cook2021-02-261-1/+0
|
* Apply code formatting with black + isortJordan Cook2021-02-261-4/+3
|
* add gridfs supportCheng Guangnan2017-04-011-0/+34