CodeQL library for Python
codeql/python-all 2.1.1-dev (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()