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

Member predicate PythonImport::isADependency

Identify dependencies associated with this category.

The source element is the source of the dependency.

predicate isADependency(AstNode source, Object target)