summaryrefslogtreecommitdiff
path: root/tests/benchmark_serializers.py
Commit message (Collapse)AuthorAgeFilesLines
* Add decode_content option for storage classes, and use as the default ↵Jordan Cook2022-06-101-5/+1
| | | | behavior for Filesystem, DynamoDB, and MongoDB backends
* Add serializer stage that decodes/re-encodes response contentJordan Cook2022-06-101-7/+9
|
* Format using a more typical line length of 100Jordan Cook2022-01-011-1/+6
|
* Fix generate_test_db script, and add a basic script for testing cache write ↵Jordan Cook2021-07-311-27/+20
| | | | speeds
* Some serialization fixes & updates:Jordan Cook2021-07-031-0/+120
* Fix tests on python 3.6: * Make `cattrs` optional again * Don't run tests for serializers with missing optional dependencies * Show any skipped tests in pytest output * Fix redirect serialization for backends that serialize all values (DynamoDB and Redis) * Otherwise, the redirect value (which is just another key) will get converted into a `CachedResponse` * Make `pickle` serializer use `cattrs` if installed * Make `bson` serializer compatible with both `pymongo` version and standalone `bson` library * Split up `CattrStage` and preconf converters into separate modules * Turn preconf converters into `Stage` objects * Add `DeprecationWarning` for previous method of using `itsdangerous`, now that there's a better way to initialize it via `SerializerPipeline` * Remove `suppress_warnings` kwarg that's now unused * Make `SerializerPipeline`, `Stage`, and `CattrStage` importable from top-level package (`from requests_cache import ...`) * Add some more details to docs and docstrings