MCPcopy Index your code
hub / github.com/coleifer/huey / map

Method map

huey/api.py:1030–1031  ·  view source on GitHub ↗
(self, it)

Source from the content-addressed store, hash-verified

1028 return [self.s(*(i if isinstance(i, tuple) else (i,))) for i in it]
1029
1030 def map(self, it):
1031 return ResultGroup([self.huey.enqueue(t) for t in self._apply(it)])
1032
1033 def __call__(self, *args, **kwargs):
1034 return self.huey.enqueue(self.s(*args, **kwargs))

Callers 2

test_mapMethod · 0.80
mainFunction · 0.80

Calls 3

_applyMethod · 0.95
ResultGroupClass · 0.85
enqueueMethod · 0.45

Tested by 1

test_mapMethod · 0.64