query interactive fallback, improve guess_stats

This commit is contained in:
Sean Breckenridge 2021-04-19 02:08:18 -07:00
parent 91eed15a75
commit 91f3e81573
3 changed files with 116 additions and 7 deletions

View file

@ -56,7 +56,7 @@ def locate_function(module_name: str, function_name: str) -> Callable[[], Iterab
return func
except Exception as e:
raise QueryException(str(e))
raise QueryException(f"Could not find function {function_name} in {module_name}")
raise QueryException(f"Could not find function '{function_name}' in '{module_name}'")
def locate_qualified_function(qualified_name: str) -> Callable[[], Iterable[ET]]: