def map(self,hibp_objs):
'''
Asynchronously map the HIBP execution job to multiple queries.
Attributes:
- hibp_objs - list of HIBP objects
'''
jobs = [self.send(hibp_obj) for hibp_obj in hibp_objs]
gevent.joinall(jobs, timeout=self.timeout)
return hibp_objs
评论列表
文章目录