def map(self, callable, iterable): """Submit *callable* with each of the items in ``*iterables``. All items in ``*iterables`` must be serializable in JSON. """ iterable = task.get_actual_value(iterable) return super(Executor, self).map(callable, iterable)
def starmap(self, callable, iterable): iterable = task.get_actual_value(iterable) return super(Executor, self).starmap(callable, iterable)