diff options
author | Willem de Groot <willem@byte.nl> | 2014-08-22 18:01:31 +0200 |
---|---|---|
committer | Willem de Groot <willem@byte.nl> | 2014-08-22 18:01:31 +0200 |
commit | b071485a3caaddf10cfa314e83223c1e70fea7f4 (patch) | |
tree | b0f25be37659cb5c3ba90634531d489623883ea1 | |
parent | b347a9c516f1b7c1d65c376ce255eca274b88999 (diff) | |
download | requests-cache-b071485a3caaddf10cfa314e83223c1e70fea7f4.tar.gz |
Add required _Store.release_conn() method
-rw-r--r-- | requests_cache/backends/base.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/requests_cache/backends/base.py b/requests_cache/backends/base.py index bc13518..2843ea8 100644 --- a/requests_cache/backends/base.py +++ b/requests_cache/backends/base.py @@ -162,10 +162,11 @@ class BaseCache(object): # used for saving response attributes class _Store(object): - pass + def release_conn(self): + pass def _to_bytes(s, encoding='utf-8'): if is_py2 or isinstance(s, bytes): return s - return bytes(s, encoding)
\ No newline at end of file + return bytes(s, encoding) |