Skip to content

Commit 858e652

Browse files
committed
Fix get_annotations call
1 parent 1b02a35 commit 858e652

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

singlestoredb/functions/decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def is_valid_callable(obj: Any) -> bool:
4949
if not callable(obj):
5050
return False
5151

52-
returns = inspect.get_annotations(obj).get('return', None)
52+
returns = utils.get_annotations(obj).get('return', None)
5353

5454
if inspect.isclass(returns) and issubclass(returns, str):
5555
return True

0 commit comments

Comments
 (0)