MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / starmap_t

Function starmap_t

functional/transformations.py:65–75  ·  view source on GitHub ↗

Transformation for Sequence.starmap and Sequence.smap :param func: starmap function :return: transformation

(func)

Source from the content-addressed store, hash-verified

63
64
65def starmap_t(func):
66 """
67 Transformation for Sequence.starmap and Sequence.smap
68 :param func: starmap function
69 :return: transformation
70 """
71 return Transformation(
72 "starmap({})".format(name(func)),
73 partial(starmap, func),
74 {ExecutionStrategies.PARALLEL},
75 )
76
77
78def filter_t(func):

Callers

nothing calls this directly

Calls 1

nameFunction · 0.85

Tested by

no test coverage detected