Transformation for Sequence.where :param func: where function :return: transformation
(func)
| 89 | |
| 90 | |
| 91 | def where_t(func): |
| 92 | """ |
| 93 | Transformation for Sequence.where |
| 94 | :param func: where function |
| 95 | :return: transformation |
| 96 | """ |
| 97 | return Transformation( |
| 98 | "where({0})".format(name(func)), |
| 99 | partial(filter, func), |
| 100 | {ExecutionStrategies.PARALLEL}, |
| 101 | ) |
| 102 | |
| 103 | |
| 104 | def filter_not_t(func): |