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