Transformation for Sequence.filter :param func: filter function :return: transformation
(func)
| 76 | |
| 77 | |
| 78 | def 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 | |
| 91 | def where_t(func): |