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

Member predicate ImportMemberNode::getModule

Gets the flow node corresponding to the module in the import-member expression corresponding to this flow node, with the matching name

ControlFlowNode getModule(string name)