Skip to content

Commit 2da33ff

Browse files
committed
Fix show functions call
1 parent 7ec2c24 commit 2da33ff

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
@@ -790,7 +790,8 @@ def _locate_app_functions(self, cur: Any) -> Tuple[Set[str], Set[str]]:
790790
"""Locate all current functions and links belonging to this app."""
791791
funcs, links = set(), set()
792792
cur.execute('SHOW FUNCTIONS')
793-
for name, ftype, _, _, _, link in list(cur):
793+
for row in list(cur):
794+
name, ftype, link = row[0], row[1], row[-1]
794795
# Only look at external functions
795796
if 'external' not in ftype.lower():
796797
continue

0 commit comments

Comments
 (0)