diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-30 16:22:02 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-30 21:28:04 -0500 |
| commit | f41116c5fcccaf87e84582ceeff22f7684e0d607 (patch) | |
| tree | 4f873ad1e18a92c899ff2b78f69c2ba5b4385518 /requests_cache/backends/sqlite.py | |
| parent | 0496969588e506d538b228b5d75bf63dddcde6ca (diff) | |
| download | requests-cache-f41116c5fcccaf87e84582ceeff22f7684e0d607.tar.gz | |
Adjust line length for black + isort
Diffstat (limited to 'requests_cache/backends/sqlite.py')
| -rw-r--r-- | requests_cache/backends/sqlite.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/requests_cache/backends/sqlite.py b/requests_cache/backends/sqlite.py index a912f0b..0efbc7f 100644 --- a/requests_cache/backends/sqlite.py +++ b/requests_cache/backends/sqlite.py @@ -34,7 +34,9 @@ class DbCache(BaseCache): **kwargs, ): super().__init__(**kwargs) - self.responses = DbPickleDict(db_path, table_name='responses', use_temp=use_temp, fast_save=fast_save, **kwargs) + self.responses = DbPickleDict( + db_path, table_name='responses', use_temp=use_temp, fast_save=fast_save, **kwargs + ) self.redirects = DbDict(db_path, table_name='redirects', use_temp=use_temp, **kwargs) def bulk_delete(self, keys): @@ -66,7 +68,9 @@ class DbDict(BaseStorage): timeout: Timeout for acquiring a database lock """ - def __init__(self, db_path, table_name='http_cache', fast_save=False, use_temp: bool = False, **kwargs): + 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) |
