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

Member predicate API::Node::getAValueReachingSink

Gets a data-flow node that transitively flows to an external library (or in general, any external codebase).

This is similar to asSink() but additionally includes nodes that transitively reach a sink by data flow. See asSink() for examples.

Node getAValueReachingSink()