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

Member predicate ImportExpr::getImportedModuleName

Gets the full name of the module resulting from evaluating this import. NOTE: This is the name that used to import the module, which may not be the name of the module.

string getImportedModuleName()