summaryrefslogtreecommitdiff
path: root/requests_cache/backends/dynamodb.py
Commit message (Collapse)AuthorAgeFilesLines
* Change DynamoDB table to use cache key as partition keyJordan Cook2023-03-011-48/+35
|
* Set default serializers for each backend using param defaults instead of ↵Jordan Cook2023-01-131-6/+7
| | | | 'default_serializer' class attributes
* Make CachedResponse.cache_key available from all cache access methodsJordan Cook2022-12-301-1/+1
|
* Update type hints to appease Pylance and stricter mypy settingsJordan Cook2022-12-131-3/+3
|
* Add decode_content option for storage classes, and use as the default ↵Jordan Cook2022-06-101-0/+2
| | | | behavior for Filesystem, DynamoDB, and MongoDB backends
* Add a BaseStorage.default_serializer attribute, to be more explicit about ↵Jordan Cook2022-04-221-5/+5
| | | | which backends use something other than pickle by default
* For SQLite expires column, use time.time() instead of datetime.timestamp()Jordan Cook2022-04-221-3/+2
|
* Merge *PickleDict storage classes into parent classesJordan Cook2022-04-221-22/+19
|
* Fix parameter forwarding for redis-py 4.2 and pymongo 4.1 on python <=3.8Jordan Cook2022-04-211-1/+3
|
* Add screenshots and info for viewing DynamoDB responsesJordan Cook2022-04-201-1/+0
|
* Add support for DynamoDB TTLJordan Cook2022-04-201-27/+53
|
* Store responses in DynamoDB as JSON documents instead of serialized binariesJordan Cook2022-04-191-11/+24
|
* 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-191-1/+1
| | | | directly (mainly for debug/logging purposes)
* Move backend docs to user guide, separate from API reference docsJordan Cook2022-04-171-1/+8
|
* Move detailed backend docs from rst docstings to md filesJordan Cook2022-04-161-51/+0
|
* Update general expiration docsJordan Cook2022-04-151-0/+2
|
* Add 'Use Cases' section to each backend's docsJordan Cook2022-03-171-3/+8
|
* Format using a more typical line length of 100Jordan Cook2022-01-011-2/+6
|
* Move misc minor utils to a separate moduleJordan Cook2021-10-271-1/+2
|
* Add some basic info about creating DynamoDB tablesJordan Cook2021-09-011-33/+37
|
* Revert renaming DynamoDB backend classes; a minor inconsistency is probably ↵Jordan Cook2021-08-301-6/+6
| | | | better than an unnecessary API change
* Move 'Cache Files' docs that apply to both SQLite and Filesystem backends to ↵Jordan Cook2021-08-251-2/+2
| | | | main User Guide page
* Add CLI arg to benchmark script to select a backendJordan Cook2021-08-201-0/+4
|
* Make DynamoDB and MongoDB naming consistentJordan Cook2021-08-201-4/+4
|
* Better backend docsJordan Cook2021-08-201-10/+36
|
* Integrate serializers with backendsJordan Cook2021-06-111-2/+6
|
* Adjust line length for black + isortJordan Cook2021-04-301-1/+3
|
* Implement a faster bulk delete method for each backendJordan Cook2021-04-301-6/+15
| | | | | * Instead of checking each deleted response for redirects to delete, just delete redirects that point to a non-existing response. In most cases this results in much fewer calls. * Remove usage of deprecated pymongo `Collection.find_and_modify()`
* Move storage class __str__ methods to base class, and just show keys instead ↵Jordan Cook2021-04-221-3/+0
| | | | of items
* Fix DynamoDbDict.__iter__ to return keys instead of values; update tests to ↵Jordan Cook2021-04-201-1/+1
| | | | test for this
* Allow passing any valid backend connection kwargs via BaseCacheJordan Cook2021-04-191-25/+13
| | | | | | | | * 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)
* Add kwargs for AWS creds for DynamoDbDictJordan Cook2021-04-121-1/+11
|
* Improvements to Sphinx documentation:Jordan Cook2021-04-031-23/+22
| | | | | | | | | | | | | | * Use sphinx-apidoc to auto-generate sources for backend modules * Still manually adding other modules for more control over formatting * Add a couple more contributors I missed * Include contributors on readthedocs * Add 'all' Makefile target and clean auto-generated docs * Remove unused build targets in Makefile * Update interpshinx links that have moved * Fix some interpshinx links * Fix some `:ref:` links using auto-generated labels (and some manually added labels where convenient) * Fix some docstring formatting * Fix remaining build warnings
* Pass along optional kwargs to all storage classes, and make default table ↵Jordan Cook2021-03-241-13/+6
| | | | names consistent across backends (`'http_cache'`)
* Combine storage classes from backends.storage.* with their respective ↵Jordan Cook2021-03-241-9/+124
| | | | backends in backends.*
* Rename BaseCache.keys_map property and its associated table to 'redirects'Jordan Cook2021-03-241-1/+1
|
* 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-11/+12
|
* add dynamodb backendMasahiro Wada2017-05-141-0/+30