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

Predicate API::Impl::use

Holds if ref is a use of a node that should have an incoming edge from base labeled lbl in the API graph.

Import path

import semmle.python.ApiGraphs
predicate use(TApiNode base, ApiLabel lbl, Node ref)