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