summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/_base.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 826c393cd4..bdca61d2ee 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -241,6 +241,15 @@ class CacheListDescriptor(object):
     """
 
     def __init__(self, orig, cache, list_name, num_args=1, inlineCallbacks=False):
+        """
+        Args:
+            orig (function)
+            cache (Cache)
+            list_name (str): Name of the argument which is the bulk lookup list
+            num_args (int)
+            inlineCallbacks (bool): Whether orig is a generator that should
+                be wrapped by defer.inlineCallbacks
+        """
         self.orig = orig
 
         if inlineCallbacks: