cli/query: interactive fallback, improve guess_stats (#163)
This commit is contained in:
parent
91eed15a75
commit
277f0e3988
3 changed files with 119 additions and 8 deletions
|
@ -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]]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue