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

Member predicate ModelInput::TypeModel::getASource

Gets a data-flow node that is a source of the given type.

Note that type should also be included in isTypeUsed.

This must not depend on API graphs, but ensures that an API node is generated for the source.

Node getASource(string type)