We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b02a35 commit 858e652Copy full SHA for 858e652
1 file changed
singlestoredb/functions/decorator.py
@@ -49,7 +49,7 @@ def is_valid_callable(obj: Any) -> bool:
49
if not callable(obj):
50
return False
51
52
- returns = inspect.get_annotations(obj).get('return', None)
+ returns = utils.get_annotations(obj).get('return', None)
53
54
if inspect.isclass(returns) and issubclass(returns, str):
55
return True
0 commit comments