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

Function filter_t

functional/transformations.py:78–88  ·  view source on GitHub ↗

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

(func)

Source from the content-addressed store, hash-verified

76
77
78def filter_t(func):
79 """
80 Transformation for Sequence.filter
81 :param func: filter function
82 :return: transformation
83 """
84 return Transformation(
85 "filter({0})".format(name(func)),
86 partial(filter, func),
87 {ExecutionStrategies.PARALLEL},
88 )
89
90
91def where_t(func):

Callers

nothing calls this directly

Calls 1

nameFunction · 0.85

Tested by

no test coverage detected