cli/query: interactive fallback, improve guess_stats (#163)

This commit is contained in:
Sean Breckenridge 2021-04-19 10:57:42 -07:00 committed by GitHub
parent 91eed15a75
commit 277f0e3988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 119 additions and 8 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]]: