Skip to content

Commit fddbf05

Browse files
committed
fix: eval
1 parent 05a175e commit fddbf05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/utils/functions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77

88
def execute_lambdas_in_parallel(function_name: str, lambdas_arn: list, arguments: str):
9-
def f(function_name, arn, arguments):
10-
eval(function_name)(arn, arguments)
9+
def f(fname: str, farn: str, fargs: str):
10+
return eval(fname)(farn, fargs)
1111

1212
result_list = []
1313
with ThreadPoolExecutor() as executor:

0 commit comments

Comments
 (0)