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

Predicate getExtraNodeFromPath

Gets a Python-specific interpretation of the (type, path) tuple after resolving the first n access path tokens.

Import path

import semmle.python.frameworks.data.internal.ApiGraphModelsSpecific
Node getExtraNodeFromPath(string type, AccessPath path, int n)