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

Predicate hasImplicitTypeModel

Holds if type can be obtained from an instance of otherType due to language semantics modeled by getExtraNodeFromType.

Import path

import semmle.python.frameworks.data.internal.ApiGraphModelsSpecific
predicate hasImplicitTypeModel(string type, string otherType)