CodeQL library for Python
codeql/python-all 0.12.1 (changelog, source)
Search

Member predicate ImportExpr::bottomModuleName

Gets the name by which the lowest level module or package is imported. NOTE: This is the name that used to import the module, which may not be the name of the module.

string bottomModuleName()