def imap(self,hibp_objs):
'''
Lazily + Asynchronously map the HIBP execution job to multiple queries.
Attributes:
- hibp_objs - list of HIBP objects
'''
for hibp_obj in self.pool.imap_unordered(HIBP.execute, hibp_objs):
yield hibp_obj.response
self.pool.join()
评论列表
文章目录