diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2021-06-22 13:05:56 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-07-03 15:44:10 -0500 |
| commit | a08c39ad6b213eb379df5872de0a695348c82542 (patch) | |
| tree | 6ad91cb2aaf45d4b62c89e2c33fb3b060b42ce77 /requests_cache/backends/sqlite.py | |
| parent | c4b9e4d4dcad5470de4a30464a6ac8a875615ad9 (diff) | |
| download | requests-cache-a08c39ad6b213eb379df5872de0a695348c82542.tar.gz | |
Some serialization fixes & updates:
* 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
Diffstat (limited to 'requests_cache/backends/sqlite.py')
| -rw-r--r-- | requests_cache/backends/sqlite.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/requests_cache/backends/sqlite.py b/requests_cache/backends/sqlite.py index 37a32c9..014b14c 100644 --- a/requests_cache/backends/sqlite.py +++ b/requests_cache/backends/sqlite.py @@ -71,7 +71,6 @@ class DbDict(BaseStorage): def __init__( self, db_path, table_name='http_cache', fast_save=False, use_temp: bool = False, **kwargs ): - kwargs.setdefault('suppress_warnings', True) super().__init__(**kwargs) self.connection_kwargs = get_valid_kwargs(sqlite_template, kwargs) self.db_path = _get_db_path(db_path, use_temp) |
