Skip to content

Commit ea0bee3

Browse files
Merge branch 'users/kaushik/udf-idle-start-fix' of github.com:kkampli-singlestore/singlestoredb-python into users/kaushik/udf-idle-start-fix
2 parents 3706593 + bea4674 commit ea0bee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

singlestoredb/functions/ext/asgi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,11 +1008,12 @@ def get_function_info(
10081008
if a.get('default', no_default) is not no_default:
10091009
returns[-1]['default'] = a['default']
10101010

1011+
sql = sql_map.get(sig['name'], '')
10111012
functions[sig['name']] = dict(
10121013
args=args,
10131014
returns=returns,
10141015
function_type=info['function_type'],
1015-
sql_statement=sql_map[sig['name']] if sig['name'] in sql_map else None,
1016+
sql_statement= sql,
10161017
)
10171018

10181019
return functions

0 commit comments

Comments
 (0)