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

Member predicate ImportExpr::topModuleName

Gets the name of topmost module or package being imported

string topModuleName()