From 1e269664319e61806c6c0910aa624ee3e44d33f0 Mon Sep 17 00:00:00 2001 From: Oghenemarho Onothoja Date: Wed, 1 May 2024 21:58:39 +0200 Subject: [PATCH] fix name of transformations --- functional/transformations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functional/transformations.py b/functional/transformations.py index f13481a..f9a0f57 100644 --- a/functional/transformations.py +++ b/functional/transformations.py @@ -57,7 +57,7 @@ def select_t(func: Callable): :return: transformation """ return Transformation( - "select({name(func)})", + f"select({name(func)})", partial(map, func), {ExecutionStrategies.PARALLEL}, ) @@ -70,7 +70,7 @@ def starmap_t(func: Callable): :return: transformation """ return Transformation( - "starmap({name(func)})", + f"starmap({name(func)})", partial(starmap, func), {ExecutionStrategies.PARALLEL}, )