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

Member predicate ImportMember::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()