

def __init__(self, spider, cache):
    self.spider = spider
    self.cache = cache
    self.idle_event = Event()
    self.queue_size = 100
    spider.input_queue = Queue()
    self.result_queue = Queue()
    self.thread = Thread(target=self.thread_worker)
    self.thread.daemon = True
    self.thread.start()

dataset/ETHPy150Open lorien/grab/grab/spider/cache_pipeline.py CachePipeline.__init__/VarMisuse@40/44 `self`->`spider`