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

Predicate FindModel::pathToScope

Holds if (type,path) identifies scope.

Import path

import modeling.Util
predicate pathToScope(RelevantScope scope, string type, string path)