This commit is contained in:
Erik Johnston 2015-08-11 11:33:41 +01:00
parent dc8399ee00
commit 4762c276cb

View File

@ -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: