From 7990e665406487ba12c2e979cc11d805bc59fe83 Mon Sep 17 00:00:00 2001 From: Yurii Karabas <1998uriyyo@gmail.com> Date: Wed, 15 Nov 2023 18:43:25 +0200 Subject: [PATCH] update generate_sql_functions.py --- tools/generate_sql_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate_sql_functions.py b/tools/generate_sql_functions.py index 848a927225..636a4dfcf7 100644 --- a/tools/generate_sql_functions.py +++ b/tools/generate_sql_functions.py @@ -96,7 +96,7 @@ def {key}(self) -> Type[{fn_class.__name__}{ fn_class.type, TypeEngine ): python_type = fn_class.type.python_type - python_expr = rf"Tuple\[.*{python_type.__name__}\]" + python_expr = rf".*{python_type.__name__}" argspec = inspect.getfullargspec(fn_class) args = ", ".join( 'column("x")' for elem in argspec.args[1:] -- 2.47.3