MCPcopy Create free account
hub / github.com/celery/celery / map

Method map

celery/utils/functional.py:210–212  ·  view source on GitHub ↗
(self, func)

Source from the content-addressed store, hash-verified

208 return list, (self.data,)
209
210 def map(self, func):
211 self.__consumed = [func(el) for el in self.__consumed]
212 self.__it = map(func, self.__it)
213
214 def __length_hint__(self):
215 return self.__it.__length_hint__()

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected