summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-06-14 11:12:56 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-06-14 11:14:24 -0400
commit1c753914b335b4391bc5847a87b7c52ca81c2bc6 (patch)
tree3bbc4a81d16877024112985fa6b7c0cfe482a042
parentdba71da865bc274871ffd7e1f4906d6627f8c33b (diff)
downloaddogpile-cache-1c753914b335b4391bc5847a87b7c52ca81c2bc6.tar.gz
- add some background on nullrel_0_5_4
-rw-r--r--dogpile/cache/backends/null.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/dogpile/cache/backends/null.py b/dogpile/cache/backends/null.py
index d5d50aa..c1f46a9 100644
--- a/dogpile/cache/backends/null.py
+++ b/dogpile/cache/backends/null.py
@@ -25,6 +25,18 @@ class NullLock(object):
class NullBackend(CacheBackend):
+ """A "null" backend that effectively disables all cache operations.
+
+ Basic usage::
+
+ from dogpile.cache import make_region
+
+ region = make_region().configure(
+ 'dogpile.cache.null'
+ )
+
+ """
+
def __init__(self, arguments):
pass