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

Function select_t

functional/transformations.py:52–62  ·  view source on GitHub ↗

Transformation for Sequence.select :param func: select function :return: transformation

(func)

Source from the content-addressed store, hash-verified

50
51
52def select_t(func):
53 """
54 Transformation for Sequence.select
55 :param func: select function
56 :return: transformation
57 """
58 return Transformation(
59 "select({0})".format(name(func)),
60 partial(map, func),
61 {ExecutionStrategies.PARALLEL},
62 )
63
64
65def starmap_t(func):

Callers

nothing calls this directly

Calls 1

nameFunction · 0.85

Tested by

no test coverage detected