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