def __init__(self, q, batch_iter):
super(BatchProducer, self).__init__()
threading.Thread.__init__(self)
self.q = q
self.batch_iter = batch_iter
self.log = logger.get()
self._stop = threading.Event()
self.daemon = True
concurrent_batch_iter.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录