summaryrefslogtreecommitdiff
path: root/requests_cache
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-08-26 14:24:00 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-08-26 14:31:29 -0500
commitf2a9d172a3df2e1ea0627212dbd42bced13aa778 (patch)
treeb8f4e51faae6f155c2ae99b909a8a0e0c97ee6e3 /requests_cache
parente2afb8899adbbab073584e45081967f21909e564 (diff)
downloadrequests-cache-f2a9d172a3df2e1ea0627212dbd42bced13aa778.tar.gz
More docs on cache options; for clarity, refer to cache key behavior as 'request matching', and selective caching options as 'cache filtering'
Diffstat (limited to 'requests_cache')
-rw-r--r--requests_cache/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/requests_cache/__init__.py b/requests_cache/__init__.py
index 1854c38..03c6a69 100644
--- a/requests_cache/__init__.py
+++ b/requests_cache/__init__.py
@@ -33,8 +33,9 @@ def get_placeholder_class(original_exception: Exception = None):
try:
from .backends import *
- from .patcher import *
+ from .cache_control import DO_NOT_CACHE, CacheActions
from .models import *
+ from .patcher import *
from .serializers import *
from .session import ALL_METHODS, CachedSession, CacheMixin
# Log and ignore ImportErrors, if setup.py is invoked outside a virtualenv