MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / request_custom_batch

Method request_custom_batch

bbot/core/helpers/web/engine.py:104–108  ·  view source on GitHub ↗
(self, urls_and_kwargs, threads=10, **kwargs)

Source from the content-addressed store, hash-verified

102 yield args[0], response
103
104 async def request_custom_batch(self, urls_and_kwargs, threads=10, **kwargs):
105 async for (args, kwargs, tracker), response in self.task_pool(
106 self.request, args_kwargs=urls_and_kwargs, threads=threads, global_kwargs=kwargs
107 ):
108 yield args[0], kwargs, tracker, response
109
110 async def download(self, url, **kwargs):
111 warn = kwargs.pop("warn", True)

Callers

nothing calls this directly

Calls 1

task_poolMethod · 0.80

Tested by

no test coverage detected